TestMatrixArgs class
The set of arguments for TestMatrix. The set of arguments for TestMatrix.
Constructors
-
TestMatrixArgs({Input<
ClientInfo> ? clientInfo, required Input<EnvironmentMatrix> environmentMatrix, Input<bool> ? failFast, Input<int> ? flakyTestAttempts, Input<String> ? project, Input<String> ? requestId, required Input<ResultStorage> resultStorage, required Input<TestSpecification> testSpecification}) -
Creates a new TestMatrixArgs.
clientInfoInformation about the client which invoked the test.environmentMatrixThe devices the tests are being executed on.failFastIf true, only a single attempt at most will be made to run each execution/shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more attempts are made if a potential infrastructure issue is detected. This feature is for latency sensitive workloads. The incidence of execution failures may be significantly greater for fail-fast matrices and support is more limited because of that expectation.flakyTestAttemptsThe number of times a TestExecution should be re-attempted if one or more of its test cases fail for any reason. The maximum number of reruns allowed is 10. Default is 0, which implies no reruns.projectThe cloud project that owns the test matrix.requestIdA string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended. Optional, but strongly recommended.resultStorageWhere the results for the matrix are written.testSpecificationHow to run the test.const -
TestMatrixArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
clientInfo
→ Input<
ClientInfo> ? -
Information about the client which invoked the test.
final
-
environmentMatrix
→ Input<
EnvironmentMatrix> -
The devices the tests are being executed on.
final
-
failFast
→ Input<
bool> ? -
If true, only a single attempt at most will be made to run each execution/shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more attempts are made if a potential infrastructure issue is detected. This feature is for latency sensitive workloads. The incidence of execution failures may be significantly greater for fail-fast matrices and support is more limited because of that expectation.
final
-
flakyTestAttempts
→ Input<
int> ? -
The number of times a TestExecution should be re-attempted if one or more of its test cases fail for any reason. The maximum number of reruns allowed is 10. Default is 0, which implies no reruns.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
project
→ Input<
String> ? -
The cloud project that owns the test matrix.
final
-
requestId
→ Input<
String> ? -
A string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended. Optional, but strongly recommended.
final
-
resultStorage
→ Input<
ResultStorage> -
Where the results for the matrix are written.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
testSpecification
→ Input<
TestSpecification> -
How to run the test.
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