123456789_123456789_123456789_123456789_123456789_

Module: Minitest

Relationships & Source Files
Defined in: lib/minitest/simplecov_plugin.rb

Overview

Class Method Summary

Class Method Details

.plugin_simplecov_init(_options)

[ GitHub ]

  
# File 'lib/minitest/simplecov_plugin.rb', line 6

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