Class: Datadog::CI::Test
Overview
Represents a single part of a test run. Could be a session, suite, test, or any custom span.
Instance Attribute Summary
Attributes inherited from Span
Instance Method Summary collapse
-
#finish ⇒ void
Finishes the current test.
-
#name ⇒ String
The name of the test.
Methods inherited from Span
#failed!, #get_tag, #initialize, #passed!, #set_default_tags, #set_environment_runtime_tags, #set_metric, #set_tag, #set_tags, #skipped!, #span_type, #to_s
Constructor Details
This class inherits a constructor from Datadog::CI::Span
Instance Method Details
#finish ⇒ void
This method returns an undefined value.
Finishes the current test.
19 20 21 22 23 |
# File 'lib/datadog/ci/test.rb', line 19 def finish super CI.deactivate_test(self) end |