TestMatrix class

TestMatrix captures all details about a test.

It contains the environment configuration, test specification, test executions and overall state and outcome.

Constructors

TestMatrix({ClientInfo? clientInfo, EnvironmentMatrix? environmentMatrix, List<MatrixErrorDetail>? extendedInvalidMatrixDetails, bool? failFast, int? flakyTestAttempts, String? invalidMatrixDetails, String? outcomeSummary, String? projectId, ResultStorage? resultStorage, String? state, List<TestExecution>? testExecutions, String? testMatrixId, TestSpecification? testSpecification, String? timestamp})
TestMatrix.fromJson(Map json_)

Properties

clientInfo ClientInfo?
Information about the client which invoked the test.
getter/setter pair
environmentMatrix EnvironmentMatrix?
The devices the tests are being executed on.
getter/setter pair
extendedInvalidMatrixDetails List<MatrixErrorDetail>?
Details about why a matrix was deemed invalid.
getter/setter pair
failFast bool?
If true, only a single attempt at most will be made to run each execution/shard in the matrix.
getter/setter pair
flakyTestAttempts int?
The number of times a TestExecution should be re-attempted if one or more of its test cases fail for any reason.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
invalidMatrixDetails String?
Describes why the matrix is considered invalid.
getter/setter pair
outcomeSummary String?
The overall outcome of the test.
getter/setter pair
projectId String?
The cloud project that owns the test matrix.
getter/setter pair
resultStorage ResultStorage?
Where the results for the matrix are written.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
Indicates the current progress of the test matrix.
getter/setter pair
testExecutions List<TestExecution>?
The list of test executions that the service creates for this matrix.
getter/setter pair
testMatrixId String?
Unique id set by the service.
getter/setter pair
testSpecification TestSpecification?
How to run the test.
getter/setter pair
timestamp String?
The time this test matrix was initially created.
getter/setter pair

Methods

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

Operators

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