AndroidInstrumentationTest constructor

const AndroidInstrumentationTest({
  1. Input<String>? testPackageId,
  2. Input<String>? testRunnerClass,
  3. Input<List<String>>? testTargets,
  4. Input<bool>? useOrchestrator,
})

Creates a new AndroidInstrumentationTest. testPackageId The java package for the test to be executed. Required testRunnerClass The InstrumentationTestRunner class. Required testTargets Each target must be fully qualified with the package name or class name, in one of these formats: - "package package_name" - "class package_name.class_name" - "class package_name.class_name#method_name" If empty, all targets in the module will be run. useOrchestrator The flag indicates whether Android Test Orchestrator will be used to run test or not.

Implementation

const AndroidInstrumentationTest({
  this.testPackageId,
  this.testRunnerClass,
  this.testTargets,
  this.useOrchestrator,
});