TestMatrixArgs constructor

const TestMatrixArgs({
  1. Input<ClientInfo>? clientInfo,
  2. required Input<EnvironmentMatrix> environmentMatrix,
  3. Input<bool>? failFast,
  4. Input<int>? flakyTestAttempts,
  5. Input<String>? project,
  6. Input<String>? requestId,
  7. required Input<ResultStorage> resultStorage,
  8. required Input<TestSpecification> testSpecification,
})

Creates a new TestMatrixArgs. 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. project The cloud project that owns the test matrix. requestId 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. resultStorage Where the results for the matrix are written. testSpecification How to run the test.

Implementation

const TestMatrixArgs({
  this.clientInfo,
  required this.environmentMatrix,
  this.failFast,
  this.flakyTestAttempts,
  this.project,
  this.requestId,
  required this.resultStorage,
  required this.testSpecification,
});