Sha256: ffa6de385798ef4a62c580ea2e995993c63a620cba42513973c17481a4f73aea

Contents?: true

Size: 545 Bytes

Versions: 6

Compression:

Stored size: 545 Bytes

Contents

# frozen_string_literal: true

require_relative "concurrent_span"

module Datadog
  module CI
    # 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.
    #
    # @public_api
    class TestModule < ConcurrentSpan
      # Finishes this test module.
      # @return [void]
      def finish
        super

        recorder.deactivate_test_module
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
datadog-ci-1.0.0.beta1 lib/datadog/ci/test_module.rb
datadog-ci-0.8.3 lib/datadog/ci/test_module.rb
datadog-ci-0.8.2 lib/datadog/ci/test_module.rb
datadog-ci-0.8.1 lib/datadog/ci/test_module.rb
datadog-ci-0.8.0 lib/datadog/ci/test_module.rb
datadog-ci-0.7.0 lib/datadog/ci/test_module.rb