testing

testing is a skill for Claude Code, Codex from GDvega/super-android-kotlin-firebase-skill. It costs 34 tokens per session (652 once invoked), scanned A, original, MIT.

An Android testing guide for unit, coroutine, Flow, Compose UI, instrumented, ADB-driven and Firebase Emulator tests. TDD means writing tests around expected behavior; this guide does not require TDD.

In plain words
What is it for?
It is for testing ViewModels, repositories, loading and error states, Compose accessibility, and Firebase rules or functions.
Why use it?
It helps choose an appropriate test level and avoid fragile tests, unreliable waits and unnecessary UI testing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: $skill-name invocation.

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 skills/gdvega/super-android-kotlin-firebase-skill/testing
Any agent
npx skills add GDvega/super-android-kotlin-firebase-skill --skill testing
Clone the repo
git clone --depth 1 https://github.com/GDvega/super-android-kotlin-firebase-skill

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/testing.svg)](https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/testing)
Your own site
<a href="https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/testing"><img src="https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 652 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.1 $0.00034 $0.00652
Opus 5 $0.00017 $0.00326
Sonnet 5 $0.00007 $0.00130
Haiku 4.5 $0.00003 $0.00065

Measured 6d ago against content hash 54c2d3a3f159, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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 6d 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/testing/SKILL.md · 106 lines

How it starts

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

Purpose

Create high-value tests with low fragility across Android layers.

When to use

  • Adding or reviewing tests.
  • Testing ViewModels, Flow or coroutines.
  • Testing Compose UI or accessibility.
  • Testing Firebase rules/functions with Emulator Suite.

Inputs to inspect

  • Behavior under test.
  • Existing test dependencies and source sets.
  • Repository fakes or data builders.
  • Gradle tasks and CI constraints.

Required workflow

  1. Choose the lowest useful test level first.
  2. Create fakes for behavior-focused tests.
  3. Use coroutine test APIs and virtual time.
  4. Add Compose UI/instrumented tests only for critical flows.
  5. Run the relevant Gradle task and report results.

Rules

  • No Thread.sleep.
  • Prefer fakes over mocks when state transitions matter.
  • Test loading, success, empty, error and permission-denied states.
  • Use Firebase Emulator for rules when available.
  • Keep UI tests focused.

Local skills to invoke

  • debugging
  • gradle-build
  • firebase-emulator-ci
  • jetpack-compose
  • code-review-refactor

External companion skills to use when installed

Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.

  • skydoves/android-testing-skills — use for deeper Android or Compose UI testing, semantics, assertions or test workflow guidance.
  • android/skills — use for official Android workflow alignment around edge-to-edge, adaptive UI, Navigation 3, R8, AGP or testing setup.

Files commonly touched

  • src/test
  • src/androidTest
  • ViewModel tests
  • repository tests
  • Compose tests
  • rules tests

Commands to validate

./gradlew test
./gradlew connectedDebugAndroidTest
./gradlew lint
firebase emulators:exec "npm test"
adb logcat

Common mistakes to avoid

  • Only testing happy path.
  • Using UI tests for pure logic.
  • Over-mocking repositories.
  • Ignoring source set setup.

Read the full file on GitHub · 106 lines

Files

What ships with it

3 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. 6d ago First seen · 106 lines · 34 tokens per session scan A 54c2d3a3f159

Subscribe to this mod's changes

testing is a skill published in the GitHub repository GDvega/super-android-kotlin-firebase-skill (2 stars, last pushed 2mo ago), licensed MIT. It adds 34 tokens to every session and 652 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 skills, from other repositories

test-flutter

Flutter App のテスト実行・静的解析・フォーマット・テスト記述ガイド.

K9i-0/ccpocket · 26 tokens

ios-testing

Testing patterns for Swift and SwiftUI apps.

TalissonVitorino/kmp-ios-skills · 69 tokens

mobile-testing

Android and JVM testing - JUnit5, MockK, Turbine for Flow, and Compose UI testing for unit, integration, and UI tests; also applies to KMP commonTest running on the JVM/Android target. For iOS/Swift tests (XCTest, Swift Testing, XCUITest) use ios-testing. For TDD methodology and the three-tier test model (fake-first…

TalissonVitorino/kmp-ios-skills · 102 tokens

flutter-testing

Flutter + NestJS 多区域项目测试规范 — Flutter 单元测试(Notifier/Provider + ProviderContainer override)、widget 测试、golden 测试、★ flavor 条件编译测试(cn 不含 Firebase / overseas 不含 JPush 的静态与运行时验证)、多租户隔离测试、AI 扣费 refund 测试、NestJS service 单测(mock Prisma)、e2e(supertest + 测试库)、mocktail/jest mock 约定、覆盖率门禁。.

lh17708357536-gif/flutter-cn-overseas-app-skills · 114 tokens

Android Testing

JUnit + Robolectric unit tests, Compose UI tests, screenshot tests, and Espresso for legacy views.

niels-emmer/myace · 23 tokens

cometchat-native-testing

Testing patterns for CometChat React Native — Jest + React Native Testing Library setup, mocking the UI Kit + SDK, testing custom bubbles / headers / composer actions, snapshot pitfalls, E2E with Detox vs Maestro, and CI integration. Covers what to test vs what to skip.

cometchat/cometchat-skills · 63 tokens