TestSpecification class
A description of how to run the test.
Constructors
-
TestSpecification({Input<
AndroidInstrumentationTest> ? androidInstrumentationTest, Input<AndroidRoboTest> ? androidRoboTest, Input<AndroidTestLoop> ? androidTestLoop, Input<bool> ? disablePerformanceMetrics, Input<bool> ? disableVideoRecording, Input<IosRoboTest> ? iosRoboTest, Input<IosTestLoop> ? iosTestLoop, Input<IosTestSetup> ? iosTestSetup, Input<IosXcTest> ? iosXcTest, Input<TestSetup> ? testSetup, Input<String> ? testTimeout}) -
Creates a new TestSpecification.
androidInstrumentationTestAn Android instrumentation test.androidRoboTestAn Android robo test.androidTestLoopAn Android Application with a Test Loop.disablePerformanceMetricsDisables performance metrics recording. May reduce test latency.disableVideoRecordingDisables video recording. May reduce test latency.iosRoboTestAn iOS Robo test.iosTestLoopAn iOS application with a test loop.iosTestSetupTest setup requirements for iOS.iosXcTestAn iOS XCTest, via an .xctestrun file.testSetupTest setup requirements for Android e.g. files to install, bootstrap scripts.testTimeoutMax time a test execution is allowed to run before it is automatically cancelled. The default value is 5 min.const -
TestSpecification.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
androidInstrumentationTest
→ Input<
AndroidInstrumentationTest> ? -
An Android instrumentation test.
final
-
androidRoboTest
→ Input<
AndroidRoboTest> ? -
An Android robo test.
final
-
androidTestLoop
→ Input<
AndroidTestLoop> ? -
An Android Application with a Test Loop.
final
-
disablePerformanceMetrics
→ Input<
bool> ? -
Disables performance metrics recording. May reduce test latency.
final
-
disableVideoRecording
→ Input<
bool> ? -
Disables video recording. May reduce test latency.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
iosRoboTest
→ Input<
IosRoboTest> ? -
An iOS Robo test.
final
-
iosTestLoop
→ Input<
IosTestLoop> ? -
An iOS application with a test loop.
final
-
iosTestSetup
→ Input<
IosTestSetup> ? -
Test setup requirements for iOS.
final
-
iosXcTest
→ Input<
IosXcTest> ? -
An iOS XCTest, via an .xctestrun file.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
testSetup
→ Input<
TestSetup> ? -
Test setup requirements for Android e.g. files to install, bootstrap scripts.
final
-
testTimeout
→ Input<
String> ? -
Max time a test execution is allowed to run before it is automatically cancelled. The default value is 5 min.
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