Class: Minitest::Unit

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

Defined Under Namespace

Classes: TestCase

Constant Summary

VERSION =
Minitest::VERSION

Class Method Summary collapse

Class Method Details

.after_tests(&b) ⇒ Object



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

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:



31
32
33
34
35
# File 'opal/stdlib/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