Class: Minitest::Unit

Inherits:
Object show all
Defined in:
lib/minitest/unit.rb

Overview

:nodoc:

Defined Under Namespace

Classes: TestCase

Constant Summary collapse

VERSION =
Minitest::VERSION

Class Method Summary collapse

Class Method Details

.after_tests(&b) ⇒ Object

:nodoc:



36
37
38
39
40
# File 'lib/minitest/unit.rb', line 36

def self.after_tests &b # :nodoc:
  from = caller.first
  warn "MiniTest::Unit.after_tests is now Minitest.after_run. From #{from}"
  Minitest.after_run(&b)
end

.autorunObject

:nodoc:



30
31
32
33
34
# File 'lib/minitest/unit.rb', line 30

def self.autorun # :nodoc:
  from = caller.first
  warn "MiniTest::Unit.autorun is now Minitest.autorun. From #{from}"
  Minitest.autorun
end