Skip to content

mutant0113/AndroidTestCustomAnnotations

Repository files navigation

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

About

Run specific Android Espresso tests by creating custom annotations using Kotlin and command-line via Gradle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages