Module: Minitest
Relationships & Source Files | |
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
Class Method Details
.plugin_simplecov_init(_options)
[ GitHub ]# 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