8

Is there a way to run instrumentation tests in Firebase Test Lab from Android Studio with Android Test Orchestrator enabled?

In my build.gradle I have all of the required statements:

android {
  defaultConfig {
   testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
   testInstrumentationRunnerArguments clearPackageData: 'true'
 }

  testOptions {
    execution 'ANDROID_TEST_ORCHESTRATOR'
  }
}

dependencies {
  androidTestImplementation 'com.android.support.test:runner:1.0.2'
  androidTestUtil 'com.android.support.test:orchestrator:1.0.2'
}

When I run tests on my own physical device, Orchestrator is working.

I was able to create a Run/Debug Configuration in Android Studio to run tests in Firebase Test Lab and they run successfully, but with no Orchestrator. Is there an option to enable Orchestrator in Android Studio so that it would also work in Firebase runs?

7

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.