Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 585 Bytes

File metadata and controls

12 lines (9 loc) · 585 Bytes

AndroidTestCustomAnnotations

Run specific Android Espresso tests by creating custom annotations. We use Kotlin and run tests by command-line via Gradle.

Run all Tests via Gradle

./gradlew connectedAndroidTest

Run tests with annotation @Rat via Gradle

./gradlew connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.mutant.androidtestcustomannotations.annotation.Rat

More information

Medium article