Sha256: de1d38232373ffe2978a95f565d991e4ff02ff190e72d0d38ff8ebec776d1a19

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

        super
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
datadog-ci-1.1.0 lib/datadog/ci/test_module.rb
datadog-ci-1.0.1 lib/datadog/ci/test_module.rb
datadog-ci-1.0.0 lib/datadog/ci/test_module.rb
datadog-ci-1.0.0.beta6 lib/datadog/ci/test_module.rb
datadog-ci-1.0.0.beta3 lib/datadog/ci/test_module.rb
datadog-ci-1.0.0.beta2 lib/datadog/ci/test_module.rb