Class: Google::Apis::ToolresultsV1beta3::MergedResult
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::MergedResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/google/apis/toolresults_v1beta3/representations.rb
Overview
Merged test result for environment. If the environment has only one step (no reruns or shards), then the merged result is the same as the step result. If the environment has multiple shards and/or reruns, then the results of shards and reruns that belong to the same environment are merged into one environment result.
Instance Attribute Summary collapse
-
#outcome ⇒ Google::Apis::ToolresultsV1beta3::Outcome
Interprets a result so that humans and machines can act on it.
-
#state ⇒ String
State of the resource Corresponds to the JSON property
state
. -
#test_suite_overviews ⇒ Array<Google::Apis::ToolresultsV1beta3::TestSuiteOverview>
The combined and rolled-up result of each test suite that was run as part of this environment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MergedResult
constructor
A new instance of MergedResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MergedResult
Returns a new instance of MergedResult.
1812 1813 1814 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1812 def initialize(**args) update!(**args) end |
Instance Attribute Details
#outcome ⇒ Google::Apis::ToolresultsV1beta3::Outcome
Interprets a result so that humans and machines can act on it.
Corresponds to the JSON property outcome
1793 1794 1795 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1793 def outcome @outcome end |
#state ⇒ String
State of the resource
Corresponds to the JSON property state
1798 1799 1800 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1798 def state @state end |
#test_suite_overviews ⇒ Array<Google::Apis::ToolresultsV1beta3::TestSuiteOverview>
The combined and rolled-up result of each test suite that was run as part of
this environment. Combining: When the test cases from a suite are run in
different steps (sharding), the results are added back together in one
overview. (e.g., if shard1 has 2 failures and shard2 has 1 failure than the
overview failure_count = 3). Rollup: When test cases from the same suite are
run multiple times (flaky), the results are combined (e.g., if testcase1.run1
fails, testcase1.run2 passes, and both testcase2.run1 and testcase2.run2 fail
then the overview flaky_count = 1 and failure_count = 1).
Corresponds to the JSON property testSuiteOverviews
1810 1811 1812 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1810 def test_suite_overviews @test_suite_overviews end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1817 1818 1819 1820 1821 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1817 def update!(**args) @outcome = args[:outcome] if args.key?(:outcome) @state = args[:state] if args.key?(:state) @test_suite_overviews = args[:test_suite_overviews] if args.key?(:test_suite_overviews) end |