GoogleApi.Testing.V1.Model.TestMatrix (google_api_testing v0.34.0)

View Source

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

Attributes

  • clientInfo (type: GoogleApi.Testing.V1.Model.ClientInfo.t, default: nil) - Information about the client which invoked the test.
  • environmentMatrix (type: GoogleApi.Testing.V1.Model.EnvironmentMatrix.t, default: nil) - Required. The devices the tests are being executed on.
  • extendedInvalidMatrixDetails (type: list(GoogleApi.Testing.V1.Model.MatrixErrorDetail.t), default: nil) - 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.
  • failFast (type: boolean(), default: nil) - 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 (type: integer(), default: nil) - 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 (type: String.t, default: nil) - Output only. Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state.
  • outcomeSummary (type: String.t, default: nil) - Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED.
  • projectId (type: String.t, default: nil) - The cloud project that owns the test matrix.
  • resultStorage (type: GoogleApi.Testing.V1.Model.ResultStorage.t, default: nil) - Required. Where the results for the matrix are written.
  • state (type: String.t, default: nil) - Output only. Indicates the current progress of the test matrix.
  • testExecutions (type: list(GoogleApi.Testing.V1.Model.TestExecution.t), default: nil) - Output only. The list of test executions that the service creates for this matrix.
  • testMatrixId (type: String.t, default: nil) - Output only. Unique id set by the service.
  • testSpecification (type: GoogleApi.Testing.V1.Model.TestSpecification.t, default: nil) - Required. How to run the test.
  • timestamp (type: DateTime.t, default: nil) - Output only. The time this test matrix was initially created.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Testing.V1.Model.TestMatrix{
  clientInfo: GoogleApi.Testing.V1.Model.ClientInfo.t() | nil,
  environmentMatrix: GoogleApi.Testing.V1.Model.EnvironmentMatrix.t() | nil,
  extendedInvalidMatrixDetails:
    [GoogleApi.Testing.V1.Model.MatrixErrorDetail.t()] | nil,
  failFast: boolean() | nil,
  flakyTestAttempts: integer() | nil,
  invalidMatrixDetails: String.t() | nil,
  outcomeSummary: String.t() | nil,
  projectId: String.t() | nil,
  resultStorage: GoogleApi.Testing.V1.Model.ResultStorage.t() | nil,
  state: String.t() | nil,
  testExecutions: [GoogleApi.Testing.V1.Model.TestExecution.t()] | nil,
  testMatrixId: String.t() | nil,
  testSpecification: GoogleApi.Testing.V1.Model.TestSpecification.t() | nil,
  timestamp: DateTime.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.