This one walks you through the testing pyramid for modern Android apps: unit tests for ViewModels and repositories, Hilt integration tests for DAOs and network layers, and screenshot tests using Roborazzi. The Roborazzi setup is the standout here since it runs on the JVM instead of requiring an emulator, which makes UI regression testing actually fast enough to run regularly. You get the full dependency list for libs.versions.toml, concrete examples with Compose test rules, and the Gradle commands to record and verify screenshots. Use this when you're setting up testing infrastructure on a greenfield project or finally adding proper coverage to that app that only has a few token unit tests.

skills.sh installs
869
GitHub stars
1K
last updated
Aug 21, 2026

Install

$ npx -y skills add new-silvermoon/awesome-android-agent-skills --skill android-testing --agent claude-code

Installs into .claude/skills of the current project.

Files

Android Testing Strategies

This skill provides expert guidance on testing modern Android applications, inspired by "Now in Android". It covers Unit Tests, Hilt Integration Tests, and Screenshot Testing.

Testing Pyramid

  1. Unit Tests: Fast, isolate logic (ViewModels, Repositories).
  2. Integration Tests: Test interactions (Room DAOs, Retrofit vs MockWebServer).
  3. UI/Screenshot Tests: Verify UI correctness (Compose).

Dependencies (libs.versions.toml)

Ensure you have the right testing dependencies.

Sponsors

Details

Repository
github.com/new-silvermoon/awesome-android-agent-skills
Categories
Testing & QA, AI & Agent Building, Mobile Development
First seen
Jun 3, 2026

More from new-silvermoon/awesome-android-agent-skills

All 17
1ruvnet avatarbrowser-testruvnet/rufloUI test recipe -- composes browser-record (capture) + browser-replay (verify) so every test produces a replayable RVF artifact, not an ephemeral run756skills.sh installs
2charon-fan avatartest-automatorcharon-fan/agent-playbooktest automator736skills.sh installs
3aj-geddes avatarvisual-regression-testingaj-geddes/useful-ai-promptsDetect unintended visual changes in UI by comparing screenshots across versions. Use for visual regression, screenshot diff, Percy, Chromatic, UI testing, and v731skills.sh installs
4sickn33 avatarwebapp-testingsickn33/antigravity-awesome-skillswebapp testing700skills.sh installs
5charon-fan avatarqa-expertcharon-fan/agent-playbookqa expert678skills.sh installs
6alirezarezvani avatarapi-test-suite-builderalirezarezvani/claude-skillsUse when the user asks to generate API tests, create integration test suites, test REST endpoints, or build contract tests.677skills.sh installs