Sha256: 99a605f3ba9819a0aee5a92451064e293b30f2d4bad62328fa9508794e563ffb

Contents?: true

Size: 480 Bytes

Versions: 8

Compression:

Stored size: 480 Bytes

Contents

# frozen_string_literal: true

require_relative "hooks"

module Datadog
  module CI
    module Contrib
      module Minitest
        # Patcher enables patching of 'minitest' module.
        module Patcher
          include Datadog::Tracing::Contrib::Patcher

          module_function

          def target_version
            Integration.version
          end

          def patch
            ::Minitest::Test.include(Hooks)
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
datadog-ci-0.5.1 lib/datadog/ci/contrib/minitest/patcher.rb
datadog-ci-0.5.0 lib/datadog/ci/contrib/minitest/patcher.rb
datadog-ci-0.4.1 lib/datadog/ci/contrib/minitest/patcher.rb
datadog-ci-0.4.0 lib/datadog/ci/contrib/minitest/patcher.rb
datadog-ci-0.3.0 lib/datadog/ci/contrib/minitest/patcher.rb
datadog-ci-0.2.0 lib/datadog/ci/contrib/minitest/patcher.rb
datadog-ci-0.1.1 lib/datadog/ci/contrib/minitest/patcher.rb
datadog-ci-0.1.0 lib/datadog/ci/contrib/minitest/patcher.rb