AndroidInstrumentationTest class

A test of an Android application that can control an Android component independently of its normal lifecycle. See for more information on types of Android tests.

Constructors

AndroidInstrumentationTest({Input<String>? testPackageId, Input<String>? testRunnerClass, Input<List<String>>? testTargets, 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.
const
AndroidInstrumentationTest.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
testPackageId → Input<String>?
The java package for the test to be executed. Required
final
testRunnerClass → Input<String>?
The InstrumentationTestRunner class. Required
final
testTargets → Input<List<String>>?
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.
final
useOrchestrator → Input<bool>?
The flag indicates whether Android Test Orchestrator will be used to run test or not.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited