Class: Datadog::CI::TestModule
- Inherits:
-
ConcurrentSpan
- Object
- Span
- ConcurrentSpan
- Datadog::CI::TestModule
- Defined in:
- lib/datadog/ci/test_module.rb
Overview
Represents a single test module. Read here on what test module could mean: docs.datadoghq.com/continuous_integration/explorer/?tab=testruns#module This object can be shared between multiple threads.
Instance Attribute Summary
Attributes inherited from Span
Instance Method Summary collapse
-
#finish ⇒ void
Finishes this test module.
Methods inherited from ConcurrentSpan
#get_tag, #initialize, #set_metric, #set_tag, #set_tags, #synchronize
Methods inherited from Span
#failed!, #failed?, #get_tag, #id, #initialize, #name, #passed!, #passed?, #service, #set_default_tags, #set_environment_runtime_tags, #set_metric, #set_tag, #set_tags, #skipped!, #skipped?, #span_type, #to_s, #undefined?
Constructor Details
This class inherits a constructor from Datadog::CI::ConcurrentSpan
Instance Method Details
#finish ⇒ void
This method returns an undefined value.
Finishes this test module.
16 17 18 19 20 |
# File 'lib/datadog/ci/test_module.rb', line 16 def finish super CI.deactivate_test_module end |