Android Test Orchestrator
Using Orchestrator it’s great! Improves Android automation test runs. Orchestrator ensures that the app’s state is completely cleared between tests, helps solve flaky tests. Background.
Configuration: it’s pretty easy, just add below code to your build.gradle
android {..
defaultConfig {..
// Espresso tests
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"// Cleared between tests.
testInstrumentationRunnerArguments clearPackageData: 'true'testOptions {
execution…