Android E2E Testing Setup

0•

Configures automated UI smoke tests using UI Automator 2.4 to validate Android app launches and stability across debug and release builds.

This skill automates the setup of an end-to-end (E2E) smoke testing suite for Android applications, leveraging the modern UI Automator 2.4 API. It streamlines the integration of necessary Gradle dependencies and generates a robust SmokeTest.kt template designed to verify app launches without crashes. A key advantage of this skill is its ability to test release builds, allowing developers to catch ProGuard or R8 obfuscation issues before deployment. It includes built-in logic for handling complex runtime permissions, such as HealthConnect, ensuring tests run smoothly in various environments.

主な機能

01Integrated HealthConnect and runtime permission handling logic
020 GitHub stars
03Automated UI Automator 2.4 dependency configuration
04Standardized verification via Gradle connected tests
05Support for testing both debug and production/release builds
06Generation of a modern Kotlin DSL smoke test template

ユースケース

01Validating that a release build doesn't crash due to ProGuard/R8 rules
02Setting up a quick smoke test suite for new Android projects
03Automating permission dialog handling in CI/CD testing pipelines