Struct googapis::google::devtools::testing::v1::TestMatrix[][src]

pub struct TestMatrix {
Show 13 fields pub test_matrix_id: String, pub project_id: String, pub client_info: Option<ClientInfo>, pub test_specification: Option<TestSpecification>, pub environment_matrix: Option<EnvironmentMatrix>, pub test_executions: Vec<TestExecution>, pub result_storage: Option<ResultStorage>, pub state: i32, pub timestamp: Option<Timestamp>, pub invalid_matrix_details: i32, pub flaky_test_attempts: i32, pub outcome_summary: i32, pub fail_fast: bool,
}
Expand description

TestMatrix captures all details about a test. It contains the environment configuration, test specification, test executions and overall state and outcome.

Fields

test_matrix_id: String

Output only. Unique id set by the service.

project_id: String

The cloud project that owns the test matrix.

client_info: Option<ClientInfo>

Information about the client which invoked the test.

test_specification: Option<TestSpecification>

Required. How to run the test.

environment_matrix: Option<EnvironmentMatrix>

Required. The devices the tests are being executed on.

test_executions: Vec<TestExecution>

Output only. The list of test executions that the service creates for this matrix.

result_storage: Option<ResultStorage>

Required. Where the results for the matrix are written.

state: i32

Output only. Indicates the current progress of the test matrix.

timestamp: Option<Timestamp>

Output only. The time this test matrix was initially created.

invalid_matrix_details: i32

Output only. Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state.

flaky_test_attempts: i32

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.

outcome_summary: i32

Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED.

fail_fast: bool

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.

Implementations

Returns the enum value of state, or the default if the field is set to an invalid enum value.

Sets state to the provided enum value.

Returns the enum value of invalid_matrix_details, or the default if the field is set to an invalid enum value.

Sets invalid_matrix_details to the provided enum value.

Returns the enum value of outcome_summary, or the default if the field is set to an invalid enum value.

Sets outcome_summary to the provided enum value.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

Encodes the message to a buffer. Read more

Encodes the message to a newly allocated buffer.

Encodes the message with a length-delimiter to a buffer. Read more

Encodes the message with a length-delimiter to a newly allocated buffer.

Decodes an instance of the message from a buffer. Read more

Decodes a length-delimited instance of the message from the buffer.

Decodes an instance of the message from a buffer, and merges it into self. Read more

Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more