Module: Minitest
- Defined in:
- lib/minitest/simplecov_plugin.rb
Overview
How minitest plugins. See github.com/simplecov-ruby/simplecov/pull/756 for why we need this. github.com/seattlerb/minitest#writing-extensions
Class Method Summary collapse
Class Method Details
.plugin_simplecov_init(_options) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/minitest/simplecov_plugin.rb', line 6 def self.plugin_simplecov_init() if defined?(SimpleCov) SimpleCov.external_at_exit = true Minitest.after_run do SimpleCov.at_exit_behavior end end end |