Android Testing
Android test strategy — JUnit unit tests with coroutines and Turbine, Compose UI tests, Room and network tests, Hilt test setup, fakes over mocks, screenshot tests and flaky-test control.
What it does
Android test strategy — JUnit unit tests with coroutines and Turbine, Compose UI tests, Room and network tests, Hilt test setup, fakes over mocks, screenshot tests and flaky-test control.
- Category
- mobileandroidtesting
- Platforms
- android
- Frameworks and tools
- junitturbineespressocompose-testhiltmockkrobolectric
- Capabilities
- testingcode-generationreview
Example tasks
- “Write ViewModel tests for a StateFlow-based screen with a fake repository and Turbine.”
- “Add Compose UI tests for a form with validation and error states.”
- “Stabilize a flaky instrumented test suite on CI.”
Works with
Permissions summary
Files
Reads files only
Shell
No shell commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/skills/<id>/SKILL.md |
| OpenAI Codex | Adapter | .codex/skills/<id>/SKILL.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Adapter | .github/instructions/<id>.instructions.md |
| Generic markdown | Adapter | docs/forgekit/skills/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (79 lines in total).
- 01Android Testing
- 021. What goes where
- 032. Coroutine and Flow tests
- 043. Compose UI tests
- 054. Data layer tests
- 065. Determinism and flakiness
- 076. Coverage and gates
- 08Common mistakes
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — Android Testing
1.0.0
- Initial release.