qa-testing-android

Solid

Android testing with Espresso, UIAutomator, and Compose Testing. Use when building layered test strategy, device matrix, or CI integration.

Testing & QA 80 stars 17 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
64
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# QA Testing (Android) Android testing automation with Espresso, UIAutomator, and Compose Testing. **Core References**: [Android Testing Docs](https://developer.android.com/training/testing), [Espresso](https://developer.android.com/training/testing/espresso), [Compose Testing](https://developer.android.com/develop/ui/compose/testing) ## Quick Reference | Task | Command | |------|---------| | List emulators | `emulator -list-avds` | | Start emulator | `emulator @<avd_name>` | | List devices | `adb devices` | | Install APK | `adb install -r <path-to-apk>` | | Run unit tests | `./gradlew test` | | Run instrumented tests (connected) | `./gradlew connectedAndroidTest` | | Run instrumented tests (GMD) | `./gradlew <device><variant>AndroidTest` | | List GMD tasks | `./gradlew tasks --all | rg -n \"AndroidTest|managedDevice|ManagedDevices\"` | | Clear app data | `adb shell pm clear <applicationId>` | ## Quick Start (2026 Defaults) - Prefer Gradle Managed Devices (GMD) + ATD images for CI; use `connectedAndroidTest` for local ad-hoc runs. - Enable test isolation via AndroidX Test Orchestrator for instrumented tests. - Disable animations via Gradle `testOptions` (preferred) instead of per-runner ADB steps. - Keep selectors stable: `withId()` (Views), `testTag` (Compose), resource-id/content-desc (UIAutomator). Recommended Gradle defaults for stable instrumented tests (version catalog names vary by project): ```kotlin android { testOptions { animationsDisabled = tru...

Details

Author
vasilyu1983
Repository
vasilyu1983/AI-Agents-public
Created
9 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category