← ClaudeAtlas

android-testinglisted

Android test strategy per Google's testing docs: test scopes, fakes over mocks, ViewModel and Flow tests, Hilt test bindings, Room DAO tests, Robolectric, Roborazzi and Compose Preview screenshot tests. Use when planning or writing unit, integration, Hilt, Room, or screenshot tests, or when a StateFlow test sees only its initial value or a local test throws Method not mocked.
pablitoarango/android-skills · ★ 3 · Testing & QA · score 74
Install: claude install-skill pablitoarango/android-skills
# Android Testing Sources of truth: [Testing strategies](https://developer.android.com/training/testing/fundamentals/strategies), [Test doubles](https://developer.android.com/training/testing/fundamentals/test-doubles), [Local tests](https://developer.android.com/training/testing/local-tests), [Robolectric strategies](https://developer.android.com/training/testing/local-tests/robolectric), [Screenshot testing](https://developer.android.com/training/testing/ui-tests/screenshot), [Compose Preview Screenshot Testing with test suites](https://developer.android.com/studio/preview/compose-screenshot-testing-with-testsuites), [Testing Kotlin flows](https://developer.android.com/kotlin/flow/test), [Testing coroutines](https://developer.android.com/kotlin/coroutines/test), [Hilt testing](https://developer.android.com/training/dependency-injection/hilt-testing), [Test your Room database](https://developer.android.com/training/data-storage/room/testing-db), the testing section of the [architecture recommendations](https://developer.android.com/topic/architecture/recommendations#testing), and the [Roborazzi README](https://github.com/takahirom/roborazzi). Compose UI and component tests (test rules, semantics finders, synchronization, accessibility checks) are covered in `compose-testing`. MockWebServer tests for Retrofit data sources are covered in `android-retrofit`. Read versions from [Robolectric releases](https://github.com/robolectric/robolectric/releases), [Roborazzi releases](h