skydovesskydovesCommunity·54 Agent Skills Included

android-testing-skills

Android unit, Compose UI, and instrumented test guidance

Guides writing and fixing Android tests across unit, Compose UI, Espresso, UiAutomator, and ADB-driven end-to-end layers. Eliminates flaky animation tests, wrong Gradle dependency wiring, deprecated runner imports, and misused mocks through verified right-versus-wrong code patterns. Grounds every recommendation in official AndroidX source files and Google documentation so tests stay correct and CI-stable.
npx skills add skydoves/android-testing-skills --all -g -y

All Skills in This Repository (54)

Pure Emerald Level Indicators
📦 In Repo
skydovesskydoves

picking-test-doubles

Select Android test doubles by mapping testing goals to Fake, Mock, Stub, Spy, Dummy, or Shadow.

Community
Intermediate
📦 In Repo
skydovesskydoves

applying-testing-strategies

Apply Android testing strategies for deterministic, structured Hilt test suites.

Community
Advanced
📦 In Repo
skydovesskydoves

organizing-test-source-sets

Organize Android test files into correct source sets and Gradle dependency configurations.

Community
Intermediate
📦 In Repo
skydovesskydoves

understanding-the-testing-pyramid

Explain Android small/medium/big test scopes and 70/20/10 ratio attribution.

Community
Basic
📦 In Repo
skydovesskydoves

choosing-what-to-test

Categorize Android code state to select unit, instrumented, or UI test targets.

Community
Intermediate
📦 In Repo
skydovesskydoves

migrating-from-android-test-classes

Migrate deprecated android.test.* classes to AndroidX Test with JUnit4 and Espresso.

Community
Advanced
📦 In Repo
skydovesskydoves

testing-state-restoration

Verify Jetpack Compose rememberSaveable state round-trips with StateRestorationTester.

Community
Advanced
📦 In Repo
skydovesskydoves

structuring-a-compose-test

Structure Jetpack Compose UI test classes with correct state and lifecycle patterns.

Community
Intermediate
📦 In Repo
skydovesskydoves

testing-lazy-lists

Test Compose LazyColumn, LazyRow, and LazyVerticalGrid with scrolling and visibility assertions.

Community
Advanced
📦 In Repo
skydovesskydoves

testing-animations-deterministically

Pause Jetpack Compose MainTestClock and step frames for deterministic animation UI tests.

Community
Advanced
📦 In Repo
skydovesskydoves

synchronizing-with-idle

Select correct idle-waiting primitives and timeout sources for Jetpack Compose UI tests.

Community
Advanced
📦 In Repo
skydovesskydoves

controlling-the-test-clock

Drive Compose UI test progression with frame-accurate MainTestClock time advancement.

Community
Advanced

Frequently Asked Questions

FAQPage Schema
How 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