Module: Minitest

Defined in:
lib/minitest/simplecov_plugin.rb

Overview

Class Method Summary collapse

Class Method Details

.plugin_simplecov_init(_options) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/minitest/simplecov_plugin.rb', line 6

def self.plugin_simplecov_init(_options)
  SimpleCov.external_at_exit = true

  Minitest.after_run do
    SimpleCov.at_exit_behavior if SimpleCov.respond_to?(:at_exit_behavior)
  end
end