Class: Google::Apis::TestingV1::TestMatrix
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::TestMatrix
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/testing_v1/classes.rb,
generated/google/apis/testing_v1/representations.rb,
generated/google/apis/testing_v1/representations.rb
Overview
A group of one or more TestExecutions, built by taking a product of values over a pre-defined set of axes.
Instance Attribute Summary collapse
-
#client_info ⇒ Google::Apis::TestingV1::ClientInfo
Information about the client which invoked the test.
-
#environment_matrix ⇒ Google::Apis::TestingV1::EnvironmentMatrix
The matrix of environments in which the test is to be executed.
-
#flaky_test_attempts ⇒ Fixnum
The number of times a TestExecution should be re-attempted if one or more of its test cases fail for any reason.
-
#invalid_matrix_details ⇒ String
Output only.
-
#project_id ⇒ String
The cloud project that owns the test matrix.
-
#result_storage ⇒ Google::Apis::TestingV1::ResultStorage
Locations where the results of running the test are stored.
-
#state ⇒ String
Output only.
-
#test_executions ⇒ Array<Google::Apis::TestingV1::TestExecution>
Output only.
-
#test_matrix_id ⇒ String
Output only.
-
#test_specification ⇒ Google::Apis::TestingV1::TestSpecification
A description of how to run the test.
-
#timestamp ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TestMatrix
constructor
A new instance of TestMatrix.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TestMatrix
Returns a new instance of TestMatrix
1957 1958 1959 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1957 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_info ⇒ Google::Apis::TestingV1::ClientInfo
Information about the client which invoked the test.
Corresponds to the JSON property clientInfo
1899 1900 1901 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1899 def client_info @client_info end |
#environment_matrix ⇒ Google::Apis::TestingV1::EnvironmentMatrix
The matrix of environments in which the test is to be executed.
Corresponds to the JSON property environmentMatrix
1904 1905 1906 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1904 def environment_matrix @environment_matrix end |
#flaky_test_attempts ⇒ Fixnum
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.
Corresponds to the JSON property flakyTestAttempts
1912 1913 1914 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1912 def flaky_test_attempts @flaky_test_attempts end |
#invalid_matrix_details ⇒ String
Output only. Describes why the matrix is considered invalid.
Only useful for matrices in the INVALID state.
Corresponds to the JSON property invalidMatrixDetails
1918 1919 1920 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1918 def invalid_matrix_details @invalid_matrix_details end |
#project_id ⇒ String
The cloud project that owns the test matrix.
Corresponds to the JSON property projectId
1923 1924 1925 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1923 def project_id @project_id end |
#result_storage ⇒ Google::Apis::TestingV1::ResultStorage
Locations where the results of running the test are stored.
Corresponds to the JSON property resultStorage
1928 1929 1930 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1928 def result_storage @result_storage end |
#state ⇒ String
Output only. Indicates the current progress of the test matrix
(e.g., FINISHED).
Corresponds to the JSON property state
1934 1935 1936 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1934 def state @state end |
#test_executions ⇒ Array<Google::Apis::TestingV1::TestExecution>
Output only. The list of test executions that the service creates for
this matrix.
Corresponds to the JSON property testExecutions
1940 1941 1942 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1940 def test_executions @test_executions end |
#test_matrix_id ⇒ String
Output only. Unique id set by the service.
Corresponds to the JSON property testMatrixId
1945 1946 1947 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1945 def test_matrix_id @test_matrix_id end |
#test_specification ⇒ Google::Apis::TestingV1::TestSpecification
A description of how to run the test.
Corresponds to the JSON property testSpecification
1950 1951 1952 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1950 def test_specification @test_specification end |
#timestamp ⇒ String
Output only. The time this test matrix was initially created.
Corresponds to the JSON property timestamp
1955 1956 1957 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1955 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1962 def update!(**args) @client_info = args[:client_info] if args.key?(:client_info) @environment_matrix = args[:environment_matrix] if args.key?(:environment_matrix) @flaky_test_attempts = args[:flaky_test_attempts] if args.key?(:flaky_test_attempts) @invalid_matrix_details = args[:invalid_matrix_details] if args.key?(:invalid_matrix_details) @project_id = args[:project_id] if args.key?(:project_id) @result_storage = args[:result_storage] if args.key?(:result_storage) @state = args[:state] if args.key?(:state) @test_executions = args[:test_executions] if args.key?(:test_executions) @test_matrix_id = args[:test_matrix_id] if args.key?(:test_matrix_id) @test_specification = args[:test_specification] if args.key?(:test_specification) @timestamp = args[:timestamp] if args.key?(:timestamp) end |