module Minitest

How minitest plugins. See github.com/simplecov-ruby/simplecov/pull/756 for why we need this. github.com/seattlerb/minitest#writing-extensions

Public Class Methods

plugin_simplecov_init(_options) click to toggle source
# File lib/minitest/simplecov_plugin.rb, line 5
def self.plugin_simplecov_init(_options)
  if defined?(SimpleCov)
    SimpleCov.external_at_exit = true

    Minitest.after_run do
      SimpleCov.at_exit_behavior
    end
  end
end