google_api_testing v0.15.0 GoogleApi.Testing.V1.Model.TestMatrix 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.

  • 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Testing.V1.Model.TestMatrix{
  clientInfo: GoogleApi.Testing.V1.Model.ClientInfo.t(),
  environmentMatrix: GoogleApi.Testing.V1.Model.EnvironmentMatrix.t(),
  flakyTestAttempts: integer(),
  invalidMatrixDetails: String.t(),
  outcomeSummary: String.t(),
  projectId: String.t(),
  resultStorage: GoogleApi.Testing.V1.Model.ResultStorage.t(),
  state: String.t(),
  testExecutions: [GoogleApi.Testing.V1.Model.TestExecution.t()],
  testMatrixId: String.t(),
  testSpecification: GoogleApi.Testing.V1.Model.TestSpecification.t(),
  timestamp: DateTime.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.