android-testing-skills
Android unit, Compose UI, and instrumented test guidance
All Skills in This Repository (54)
Pure Emerald Level Indicatorspicking-test-doubles
Select Android test doubles by mapping testing goals to Fake, Mock, Stub, Spy, Dummy, or Shadow.
applying-testing-strategies
Apply Android testing strategies for deterministic, structured Hilt test suites.
organizing-test-source-sets
Organize Android test files into correct source sets and Gradle dependency configurations.
understanding-the-testing-pyramid
Explain Android small/medium/big test scopes and 70/20/10 ratio attribution.
choosing-what-to-test
Categorize Android code state to select unit, instrumented, or UI test targets.
migrating-from-android-test-classes
Migrate deprecated android.test.* classes to AndroidX Test with JUnit4 and Espresso.
testing-state-restoration
Verify Jetpack Compose rememberSaveable state round-trips with StateRestorationTester.
structuring-a-compose-test
Structure Jetpack Compose UI test classes with correct state and lifecycle patterns.
testing-lazy-lists
Test Compose LazyColumn, LazyRow, and LazyVerticalGrid with scrolling and visibility assertions.
testing-animations-deterministically
Pause Jetpack Compose MainTestClock and step frames for deterministic animation UI tests.
synchronizing-with-idle
Select correct idle-waiting primitives and timeout sources for Jetpack Compose UI tests.
controlling-the-test-clock
Drive Compose UI test progression with frame-accurate MainTestClock time advancement.
Frequently Asked Questions
FAQPage SchemaHow to install android-testing-skills?▼
Run `npx skills add skydoves/android-testing-skills --all -g -y` in your terminal to install all 54 testing skills globally.
How to fix flaky Compose animation tests?▼
The suite teaches the canonical fix: set mainClock.autoAdvance = false before setContent, then step frames manually with advanceTimeByFrame and advanceTimeBy instead of using Thread.sleep.
Does it cover both unit and instrumented tests?▼
Yes. It covers JVM unit tests (JUnit4, Mockito, MockK, Robolectric, coroutines), on-device tests (Espresso, UiAutomator, ActivityScenario), and ADB-driven CI scripting.
Which coding agents work with these skills?▼
All skills follow the standard SKILL.md format and work with Claude Code, Android Studio Agent mode, Gemini, Cursor, and any runtime that reads Markdown instructions.
Do I need all 54 skills for my project?▼
No. The repository is a catalog to pick from — pull only the Compose set for UI tests, the ADB set for CI scripting, or the fundamentals set for test strategy.
Related Repositories in Software Engineering
View All in Software Engineering→openclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core