
Android Testing
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-codeInstalls 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
- Unit Tests: Fast, isolate logic (ViewModels, Repositories).
- Integration Tests: Test interactions (Room DAOs, Retrofit vs MockWebServer).
- 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- Gradle Build Performance809
- Compose Ui760
- Android Gradle Logic738
- Android Architecture701
- Kotlin Concurrency Expert684
- Compose Performance Audit596
- Android Emulator Skill578
- Android Viewmodel576
- Android Coroutines569
- Android Accessibility560
- Android Data Layer531
- Android Retrofit495
- Coil Compose464
- Xml To Compose Migration451
- Compose Navigation438
- Rxjava To Coroutines Migration347