vitalikpestov/skills-catalog/android-kotlin-testing
Claude Code and agent skill by vitalikpestov/skills-catalog
- community
Checking that the SKILL.md file is still in the repository.
Android testing patterns — ViewModel unit tests with Turbine, Compose UI semantics, Hilt TestInstallIn fakes, coroutine test dispatchers, and release quality gates. Use when writing tests, setting up CI, mocking repositories, or asking "how to test ViewModel", "Compose UI test", "Turbine StateFlow".
Install
npx vskill@latest install vitalikpestov/skills-catalog/android-kotlin-testingSKILL.md
The same SKILL.md was published earlier as vitalikpestov/skills-catalog/android-kotlin-testing.
Android Kotlin — Testing Module
Parent kit: `../../SKILL.md` · Index: `../../AGENTS.md`
Read First
| File | When | |
|---|---|---|
| `../../references/11-testing.md` | Turbine, fakes, Compose test tags | |
| `../../references/05-hilt-di.md` | TestInstallIn modules | |
| `../../references/13-release-checklist.md` | Pre-ship checklist |
ViewModel Test Template
Fake Over Mock
Prefer fakes implementing real interfaces — tests behavior, not interaction order.
Compose UI Test
Test stateless FeatureContent, not ViewModel-integrated screen.
What to Test vs Skip
| Always test | Usually skip | |
|---|---|---|
| ViewModel state transitions | Room generated SQL | |
| Repository mappers | Hilt graph wiring (compile-time) | |
Error paths (Result.failure) | Pixel-perfect screenshots | |
| Critical user flows (instrumented) | Third-party SDK internals |
CI Gate
Repo skill validation must pass before merge:
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking_Mobile-Dev/from-dosesync/compose-kotlin-agent-skills/skills/android-kotlin-testing/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 1
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vitalikpestov/skills-catalog/android-kotlin-testing)