testing-qa-agent-android

testing-qa-agent-android is an agent for Claude Code from Desquared/agents-rules-skills. It costs 52 tokens per session (427 once invoked), scanned A, original, MIT.

A mobile-app testing specialist for Android projects, covering unit tests, screen and interaction tests, mocks, and test-driven development, where tests guide implementation.

In plain words
What is it for?
Use it when writing or reviewing Android tests, testing Kotlin code, checking user flows, setting up test doubles, or applying test-driven development.
Why use it?
It helps find bugs and design code that is easier to test, while checking behavior and edge cases rather than relying only on a coverage percentage.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it when writing or reviewing Android tests, testing Kotlin code, checking user flows, setting up test doubles, or applying test-driven development.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/desquared/agents-rules-skills/android-testing-qa-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Desquared/agents-rules-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for testing-qa-agent-android

README.md
[![agentmods](https://agentmods.dev/badge/agents/desquared/agents-rules-skills/android-testing-qa-agent/github.svg)](https://agentmods.dev/agents/desquared/agents-rules-skills/android-testing-qa-agent)
Your own site
<a href="https://agentmods.dev/agents/desquared/agents-rules-skills/android-testing-qa-agent"><img src="https://agentmods.dev/badge/agents/desquared/agents-rules-skills/android-testing-qa-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for testing-qa-agent-android

Your own site · 80×15
<a href="https://agentmods.dev/agents/desquared/agents-rules-skills/android-testing-qa-agent"><img src="https://agentmods.dev/badge/agents/desquared/agents-rules-skills/android-testing-qa-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 427 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00427
Opus 5.5 $0.00021 $0.00171
Sonnet 5.5 $0.00010 $0.00085
Haiku 4.5 $0.00005 $0.00043

Measured 1mo ago against content hash 5e7ca3ef7c29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

testing-qa-agent-android scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/android-testing-qa-agent.md · 60 lines

What it actually says

Responsibilities

  1. Write JUnit unit tests (Given-When-Then pattern)
  2. Create Espresso/Compose UI tests for user flows
  3. Design mocking strategies (MockK, interface-based)
  4. Guide TDD (red-green-refactor)
  5. Assess code coverage (meaningful, not just percentage)

Test Quality Standards

  • Tests are fast, reliable, isolated, independent
  • One assertion focus per test
  • Descriptive test names explaining what's tested
  • Test behavior, not implementation
  • Cover positive, negative, and edge cases

Mocking Strategy

Discover project test setup first (check build.gradle test dependencies)

  • Interface-based mocks for Kotlin
  • MockK or Mockito (check which is used)
  • Dependency injection to enable testability (Koin test modules, Hilt testing, or manual)
  • Mock: network (MockWebServer, Ktor mock), database (in-memory), repositories

Testability Checklist

  • Dependencies injected, not hardcoded
  • Functions are pure when possible
  • Complex logic extracted into testable units
  • Async operations use TestCoroutineDispatcher
  • Network calls can be mocked
  • ViewModels use interfaces for dependencies

Testing Tools

Unit Tests:

  • JUnit 5 (or JUnit 4)
  • MockK for mocking
  • Turbine for Flow testing
  • Kotlinx-coroutines-test for coroutine testing

UI Tests:

  • Compose UI Test (composeTestRule)
  • Espresso (for View-based UI)
  • AndroidX Test for instrumented tests

Coroutine Testing

Use runTest {} from kotlinx-coroutines-test, inject TestDispatcher, assert results directly

Priority

Quality over quantity. Meaningful assertions over coverage percentages.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 60 lines · 52 tokens per session scan A 5e7ca3ef7c29

Subscribe to this mod's changes

testing-qa-agent-android is an agent published in the GitHub repository Desquared/agents-rules-skills (4 stars, last pushed 13d ago), licensed MIT. It adds 52 tokens to every session and 427 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

testing-specialist

Swift testing expert. Covers Swift Testing framework (@Test, @Suite, #expect), XCTest, UI testing, mocking patterns, testable architecture, snapshot testing, code coverage, and deterministic async testing.

The-Artificer-of-Ciphers-LLC/skills-from-the-artificer · 44 tokens

test-engineer

Use this agent when tests need to be written, debugged, or improved. For example: writing XCTest unit tests for a view model, creating XCUITest UI tests for a user flow, setting up mock services for testing, debugging a flaky test, increasing test coverage, writing snapshot tests, or configuring a test plan.

xvirobotics/metaskill · 69 tokens

qa-lead

Owns the test strategy for mobile apps: the test pyramid (unit + integration + E2E with Maestro/Detox/XCUITest/Espresso), bug triage, beta-test sign-off, and release quality gates. Engage at sprint planning, before a release candidate, or when bug volume is climbing.

cenconq25/claude-code-app-studio · 67 tokens

test-engineer

Use this agent when tests need to be written, debugged, or improved. For example: writing XCTest unit tests for a view model, creating XCUITest UI tests for a user flow, setting up mock services for testing, debugging a flaky test, increasing test coverage, writing snapshot tests, or configuring a test plan.

morganmuli/metaskill · 69 tokens

flutter-testing

Use this agent when writing tests for Flutter applications. Specializes in unit tests, widget tests, integration tests, BLoC testing, mocking, and test-driven development. Examples: Context: User needs test coverage user: 'Write comprehensive tests for my authentication feature including unit, widget, and integration…

cleydson/flutter-claude-code · 0 tokens

pact-test-engineer

Use this agent to create and run tests: unit tests, integration tests, E2E tests, performance tests, and security tests. Use after code implementation is complete.

Synaptic-Labs-AI/PACT-Plugin · 40 tokens