Module: Datadog::CI::Contrib::Minitest::Patcher
- Includes:
- Patcher
- Defined in:
- lib/datadog/ci/contrib/minitest/patcher.rb
Overview
Patcher enables patching of ‘minitest’ module.
Class Method Summary collapse
Methods included from Patcher
Class Method Details
.patch ⇒ Object
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/datadog/ci/contrib/minitest/patcher.rb', line 18 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 |