module top_level_module::DeepCover::Tools::AfterTests
Public Instance Methods
after_tests() { || ... }
click to toggle source
# File lib/deep_cover/tools/after_tests.rb, line 15 def after_tests use_at_exit = true if defined?(::Minitest) use_at_exit = false ::Minitest.after_run { yield } end if defined?(::Rspec) use_at_exit = false ::RSpec.configure do |config| config.after(:suite) { yield } end end if use_at_exit at_exit { yield } end end