Class: Datadog::CI::TestModule

Inherits:
ConcurrentSpan show all
Defined in:
lib/datadog/ci/test_module.rb

Overview

Represents a single test module. Read here on what test module could mean: https://docs.datadoghq.com/continuous_integration/explorer/?tab=testruns#module This object can be shared between multiple threads.

Instance Attribute Summary

Attributes inherited from Span

#tracer_span

Instance Method Summary collapse

Methods inherited from ConcurrentSpan

#get_tag, #initialize, #set_metric, #set_tag, #set_tags, #synchronize

Methods inherited from Span

#clear_tag, #failed!, #failed?, #get_metric, #get_tag, #git_branch, #git_commit_sha, #git_repository_url, #id, #initialize, #name, #os_architecture, #os_platform, #os_version, #passed!, #passed?, #runtime_name, #runtime_version, #service, #set_default_tags, #set_environment_runtime_tags, #set_metric, #set_tag, #set_tags, #skipped!, #skipped?, #source_file, #to_s, #trace_id, #type, #undefined?

Constructor Details

This class inherits a constructor from Datadog::CI::ConcurrentSpan

Instance Method Details

#finishvoid

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
  test_visibility.deactivate_test_module

  super
end