TestMatrix
import type { TestMatrix } from "https://googleapis.deno.dev/v1/testing:v1.ts";
TestMatrix captures all details about a test. It contains the environment configuration, test specification, test executions and overall state and outcome.
§Properties
Information about the client which invoked the test.
Required. The devices the tests are being executed on.
Output only. Details about why a matrix was deemed invalid. If multiple checks can be safely performed, they will be reported but no assumptions should be made about the length of this list.
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.
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.
Output only. Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state.
Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED.
Required. Where the results for the matrix are written.
Output only. Indicates the current progress of the test matrix.
Output only. The list of test executions that the service creates for this matrix.
Required. How to run the test.