android-testing

android-testing is a skill for Claude Code from Fandhe-AI/agent-reference-skills. It costs 112 tokens per session (2,192 once invoked), scanned A, original, no licence file.

A reference for testing Android apps written in Kotlin. It covers common Android test tools and approaches, including unit tests, UI tests, test doubles, and tests for coroutines, data streams, and Compose screens.

In plain words
What is it for?
Use it when creating or reviewing tests for ViewModels, activities, fragments, Compose interfaces, coroutines, or data streams. It also covers tools such as JUnit, Espresso, Mockito, MockK, Robolectric, and UiAutomator.
Why use it?
It helps developers choose suitable tests and tools without piecing together Android testing guidance themselves. It also clarifies how to test different app components and asynchronous code.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it when creating or reviewing tests for ViewModels, activities, fragments, Compose interfaces, coroutines, or data streams. It also covers tools such as JUnit, Espresso, Mockito, MockK, Robolectric, and UiAutomator.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fandhe-ai/agent-reference-skills/android-testing
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.

Any agent
npx skills add Fandhe-AI/agent-reference-skills --skill android-testing
Clone the repo
git clone --depth 1 https://github.com/Fandhe-AI/agent-reference-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 android-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/fandhe-ai/agent-reference-skills/android-testing/github.svg)](https://agentmods.dev/skills/fandhe-ai/agent-reference-skills/android-testing)
Your own site
<a href="https://agentmods.dev/skills/fandhe-ai/agent-reference-skills/android-testing"><img src="https://agentmods.dev/badge/skills/fandhe-ai/agent-reference-skills/android-testing/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 android-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/fandhe-ai/agent-reference-skills/android-testing"><img src="https://agentmods.dev/badge/skills/fandhe-ai/agent-reference-skills/android-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,192 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 unknown 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.00112 $0.02192
Opus 5.5 $0.00045 $0.00877
Sonnet 5.5 $0.00022 $0.00438
Haiku 4.5 $0.00011 $0.00219

Measured 4d ago against content hash 36fec9af2f40, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

android-testing 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 4d 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.

skills/android-testing/SKILL.md · 158 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed · +22 lines · +26 tokens per session 36fec9af2f40
  2. 1mo ago First seen · 136 lines · 86 tokens per session scan A d19beee95acc

Subscribe to this mod's changes

android-testing is a skill published in the GitHub repository Fandhe-AI/agent-reference-skills (4 stars, last pushed yesterday), with no licence file. It adds 112 tokens to every session and 2,192 once invoked, about $0.0004 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 skills, from other repositories

swift-protocol-di-testing

Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.

affaan-m/ECC · 32 tokens

android-do-not-mock

How to write (or fix) Chromium Java unit tests (Robolectric / JUnit) without mocking or spying android.view.View, android.app.Activity, or their subclasses. Use when removing @SuppressWarnings("DoNotMock"), fixing a "DoNotMock" Error Prone error, replacing Mockito.mock(View.class) / @Mock Activity / spy(view), or when…

chromium/chromium · 96 tokens

android-unit-test

Guide for writing and converting Chromium Android unit tests across host Robolectric (chromejunittests) and on-device (chromepublicunittestapk) suites.

chromium/chromium · 36 tokens

react-native-testing

Write tests using React Native Testing Library (RNTL) v13 and v14 (@testing-library/react-native). Use when writing, reviewing, or fixing React Native component tests. Covers: render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, and async patterns. Supports v13 (React…

callstack/react-native-testing-library · 134 tokens

flutter-add-widget-test

Implement a component-level test using WidgetTester to verify UI rendering and user interactions (tapping, scrolling, entering text). Use when validating that a specific widget displays correct data and responds to events as expected.

flutter/agent-plugins · 48 tokens

mobiai-android-testing

Use when writing or running tests in an Android project — unit tests, UI tests, choosing the right framework and patterns.

ArisGuimera/MobiAI-Core · 30 tokens