Module: Datadog::CI::Contrib::Minitest::Patcher
- Includes:
- Tracing::Contrib::Patcher
- Defined in:
- lib/datadog/ci/contrib/minitest/patcher.rb
Overview
Patcher enables patching of ‘minitest’ module.
Class Method Summary collapse
Class Method Details
.patch ⇒ Object
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/datadog/ci/contrib/minitest/patcher.rb', line 22 def patch # test session start ::Minitest.include(Runner) # test suites (when not executed concurrently) ::Minitest::Runnable.include(Runnable) # tests; test suites (when executed concurrently) ::Minitest::Test.include(Test) # test session finish ::Minitest::CompositeReporter.include(Reporter) end |
.target_version ⇒ Object
18 19 20 |
# File 'lib/datadog/ci/contrib/minitest/patcher.rb', line 18 def target_version Integration.version end |