OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add new-silvermoon/awesome-android-agent-skills --skill android-testing
Comprehensive testing strategy involving Unit, Integration, Hilt, and Screenshot tests.
npx skills add new-silvermoon/awesome-android-agent-skills --skill android-testing
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.
libs.versions.toml)Ensure you have the right testing dependencies.
Screenshot tests ensure your UI doesn't regress visually. NiA uses Roborazzi because it runs on the JVM (fast) without needing an emulator.
libs.versions.toml:
build.gradle.kts:
Use HiltAndroidRule to inject dependencies in tests.
./gradlew test./gradlew recordRoborazziDebug (to record) / ./gradlew verifyRoborazziDebug (to verify)