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

:nodoc:



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

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:



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

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