test-engineer

test-engineer is an agent for coding agents from GuillemRoca/agent-skills-android. It costs 36 tokens per session (1,057 once invoked), scanned A, original, MIT.

An Android testing specialist for planning test suites, writing tests, checking coverage, and judging test quality. It covers unit tests, integration tests, and tests that run through the app interface or on a device.

In plain words
What is it for?
Use it to design Android test strategies, test ViewModels and other code layers, cover edge cases and error handling, and assess whether existing tests are sufficient.
Why use it?
It helps reveal missing checks and defects across normal use, unusual inputs, failures, permissions, and concurrent operations before users encounter them.

Agent

Part of the agent-skills-android plugin — 29 skills, 7 commands, 3 agents, 1 hook shipped together

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.

agentmods
npx agentmods add agents/guillemroca/agent-skills-android/test-engineer
Clone the repo
git clone --depth 1 https://github.com/GuillemRoca/agent-skills-android

Or install agent-skills-android, the plugin that ships this one along with the rest of its 29 skills, 7 commands, 3 agents, 1 hook.

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 test-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/guillemroca/agent-skills-android/test-engineer.svg)](https://agentmods.dev/agents/guillemroca/agent-skills-android/test-engineer)
Your own site
<a href="https://agentmods.dev/agents/guillemroca/agent-skills-android/test-engineer"><img src="https://agentmods.dev/badge/agents/guillemroca/agent-skills-android/test-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00036 $0.01057
Opus 5 $0.00018 $0.00528
Sonnet 5 $0.00007 $0.00211
Haiku 4.5 $0.00004 $0.00106

Measured 3d ago against content hash 3d063510c9b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

test-engineer 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 3d 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/test-engineer.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent: Test Engineer (Android)

Role

You are a QA specialist focused on Android test design, coverage analysis, and test quality evaluation. You help design test suites, write tests for existing code, identify coverage gaps, and evaluate test quality.

Testing Pyramid

    /‾‾‾‾‾‾‾‾‾\
   / UI Tests   \        ~5%  — Compose rules, Espresso, UI Automator
  / (device)     \
 /‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\
/ Integration Tests \     ~15% — Room in-memory, MockWebServer, Robolectric
|                   |
|‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾|
|    Unit Tests       |   ~80% — JUnit5 + MockK
|  (fast, local)      |          ViewModels, UseCases, Repos, Mappers
 ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾

Testing Priorities

  1. Happy paths — does the feature work as intended?
  2. Edge cases — null values, empty lists, single items, maximum lengths
  3. Boundary values — 0, 1, MAX_INT, empty strings
  4. Error handling — network failures, invalid data, permission denied
  5. Concurrency — race conditions in coroutines, concurrent database writes

Layer-Specific Testing

ViewModel Tests

  • Test state transitions (Loading → Success, Loading → Error)
  • Test event handling (user actions → state changes)
  • Use MainDispatcherRule for Dispatchers.Main
  • Use runTest and advanceUntilIdle() for coroutines

Repository Tests

  • Test data flow from API to local database
  • Test offline behavior (network unavailable)
  • Test cache invalidation logic
  • Mock at boundaries (DAO, API)

Room DAO Tests

  • Use Room.inMemoryDatabaseBuilder for isolation
  • Test CRUD operations
  • Test complex queries (joins, filters, ordering)
  • Test Flow emissions on data changes

Compose UI Tests

  • Test all visual states (loading, success, empty, error)
  • Use semantic selectors (text, content description, test tag)
  • Verify accessibility (content descriptions exist, touch targets)
  • Test user interactions (click, scroll, input)

Prove-It Pattern (Bug Fixes)

For every bug:

  1. Write a test that demonstrates the bug
  2. Run it — confirm it FAILS (proves bug exists)
  3. Fix the code
  4. Run it — confirm it PASSES (proves fix works)
  5. Run full suite — no regressions

Read the full file on GitHub · 110 lines

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. 3d ago First seen · 110 lines · 36 tokens per session scan A 3d063510c9b9

Subscribe to this mod's changes

test-engineer is an agent published in the GitHub repository GuillemRoca/agent-skills-android (2 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 1,057 once invoked, about $0.0002 per session on Opus 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

e2e-testing

pnpm expo run:ios pnpm expo run:android.

callstackincubator/rozenite · 0 tokens

playground-testing

Rozenite DevTools plugins. Every screen exists to trigger one plugin behavior; DevTools is where you observe the result.

callstackincubator/rozenite · 0 tokens

accessibility-reviewer

Audits SwiftUI and UIKit code for VoiceOver, Dynamic Type, contrast, tap targets, and motion/transparency settings. Read-only — reports findings with file:line and the specific fix. Use before shipping a screen or when an accessibility issue is reported.

Nagarjuna2997/ios-agent-skill · 57 tokens

foundation-models

Specialist for Apple's Foundation Models framework and Apple Intelligence — on-device and Private Cloud Compute language models, @Generable structured output, tool calling, Dynamic Profiles, and multimodal prompts. Use when building, reviewing, or debugging any on-device LLM feature. Enforces availability gating and…

Nagarjuna2997/ios-agent-skill · 64 tokens

e2e-runner

End-to-end testing specialist using Playwright — selector discipline, POM, and flake avoidance with explicit browser-output isolation. Use when qa-engineer delegates E2E authoring/debugging or task explicitly requires Playwright specs; opt-in via holistic caller — not a daily entry point.

ulises-jeremias/agent-toolkit · 64 tokens

observer

Background agent that analyzes session observations to detect patterns and create instincts. Uses Haiku for cost-efficiency. v2.1 adds project-scoped instincts.

x-cmd/skill · 33 tokens