Class TestMatrix
TestMatrix captures all details about a test. It contains the environment configuration, test specification, test executions and overall state and outcome.
Implements
Inherited Members
Namespace: Google.Apis.Testing.v1.Data
Assembly: Google.Apis.Testing.v1.dll
Syntax
public class TestMatrix : IDirectResponseSchema
Properties
ClientInfo
Information about the client which invoked the test.
Declaration
[JsonProperty("clientInfo")]
public virtual ClientInfo ClientInfo { get; set; }
Property Value
Type | Description |
---|---|
ClientInfo |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnvironmentMatrix
Required. The devices the tests are being executed on.
Declaration
[JsonProperty("environmentMatrix")]
public virtual EnvironmentMatrix EnvironmentMatrix { get; set; }
Property Value
Type | Description |
---|---|
EnvironmentMatrix |
ExtendedInvalidMatrixDetails
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.
Declaration
[JsonProperty("extendedInvalidMatrixDetails")]
public virtual IList<MatrixErrorDetail> ExtendedInvalidMatrixDetails { get; set; }
Property Value
Type | Description |
---|---|
IList<MatrixErrorDetail> |
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.
Declaration
[JsonProperty("failFast")]
public virtual bool? FailFast { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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.
Declaration
[JsonProperty("flakyTestAttempts")]
public virtual int? FlakyTestAttempts { get; set; }
Property Value
Type | Description |
---|---|
int? |
InvalidMatrixDetails
Output only. Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state.
Declaration
[JsonProperty("invalidMatrixDetails")]
public virtual string InvalidMatrixDetails { get; set; }
Property Value
Type | Description |
---|---|
string |
OutcomeSummary
Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED.
Declaration
[JsonProperty("outcomeSummary")]
public virtual string OutcomeSummary { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
The cloud project that owns the test matrix.
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
ResultStorage
Required. Where the results for the matrix are written.
Declaration
[JsonProperty("resultStorage")]
public virtual ResultStorage ResultStorage { get; set; }
Property Value
Type | Description |
---|---|
ResultStorage |
State
Output only. Indicates the current progress of the test matrix.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
TestExecutions
Output only. The list of test executions that the service creates for this matrix.
Declaration
[JsonProperty("testExecutions")]
public virtual IList<TestExecution> TestExecutions { get; set; }
Property Value
Type | Description |
---|---|
IList<TestExecution> |
TestMatrixId
Output only. Unique id set by the service.
Declaration
[JsonProperty("testMatrixId")]
public virtual string TestMatrixId { get; set; }
Property Value
Type | Description |
---|---|
string |
TestSpecification
Required. How to run the test.
Declaration
[JsonProperty("testSpecification")]
public virtual TestSpecification TestSpecification { get; set; }
Property Value
Type | Description |
---|---|
TestSpecification |
Timestamp
object representation of TimestampRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use TimestampDateTimeOffset instead.")]
public virtual object Timestamp { get; set; }
Property Value
Type | Description |
---|---|
object |
TimestampDateTimeOffset
DateTimeOffset representation of TimestampRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? TimestampDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
TimestampRaw
Output only. The time this test matrix was initially created.
Declaration
[JsonProperty("timestamp")]
public virtual string TimestampRaw { get; set; }
Property Value
Type | Description |
---|---|
string |