GetTestMatrixResult constructor
- required ClientInfoResponse clientInfo,
- required EnvironmentMatrixResponse environmentMatrix,
- required bool failFast,
- required int flakyTestAttempts,
- required String invalidMatrixDetails,
- required String outcomeSummary,
- required String project,
- required ResultStorageResponse resultStorage,
- required String state,
- required List<
TestExecutionResponse> testExecutions, - required String testMatrixId,
- required TestSpecificationResponse testSpecification,
- required String timestamp,
Creates a new GetTestMatrixResult.
clientInfo Information about the client which invoked the test.
environmentMatrix The devices the tests are being executed on.
failFast 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.
flakyTestAttempts 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.
invalidMatrixDetails Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state.
outcomeSummary Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED.
project The cloud project that owns the test matrix.
resultStorage Where the results for the matrix are written.
state Indicates the current progress of the test matrix.
testExecutions The list of test executions that the service creates for this matrix.
testMatrixId Unique id set by the service.
testSpecification How to run the test.
timestamp The time this test matrix was initially created.
Implementation
const GetTestMatrixResult({
required this.clientInfo,
required this.environmentMatrix,
required this.failFast,
required this.flakyTestAttempts,
required this.invalidMatrixDetails,
required this.outcomeSummary,
required this.project,
required this.resultStorage,
required this.state,
required this.testExecutions,
required this.testMatrixId,
required this.testSpecification,
required this.timestamp,
});