Class: Minitest::Unit

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

Defined Under Namespace

Classes: TestCase

Constant Summary collapse

VERSION =
Minitest::VERSION

Class Method Summary collapse

Class Method Details

.after_tests(&b) ⇒ Object



33
34
35
36
37
# File 'lib/minitest/unit.rb', line 33

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

.autorunObject

:nodoc:



27
28
29
30
31
# File 'lib/minitest/unit.rb', line 27

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