Class: Test::Unit::TestCase

Inherits:
MiniTest::Unit::TestCase show all
Includes:
Assertions
Defined in:
lib/minitest/unit.rb,
lib/test/unit/testcase.rb

Constant Summary

Constant Summary

Constants inherited from MiniTest::Unit::TestCase

MiniTest::Unit::TestCase::PASSTHROUGH_EXCEPTIONS, MiniTest::Unit::TestCase::SUPPORTS_INFO_SIGNAL

Instance Attribute Summary

Attributes inherited from MiniTest::Unit::TestCase

#__name__

Class Method Summary (collapse)

Methods included from Assertions

#assert, #assert_block, #assert_equal, #assert_no_match, #assert_not_equal, #assert_not_nil, #assert_not_same, #assert_nothing_raised, #assert_nothing_thrown, #assert_raise, #assert_respond_to, #build_message, #mu_pp

Methods included from MiniTest::Assertions

#_assertions, #_assertions=, #assert, #assert_block, #assert_empty, #assert_equal, #assert_in_delta, #assert_in_epsilon, #assert_includes, #assert_instance_of, #assert_kind_of, #assert_match, #assert_nil, #assert_operator, #assert_raises, #assert_respond_to, #assert_same, #assert_send, #assert_throws, #capture_io, #exception_details, #flunk, #message, #mu_pp, #pass, #refute, #refute_empty, #refute_equal, #refute_in_delta, #refute_in_epsilon, #refute_includes, #refute_instance_of, #refute_kind_of, #refute_match, #refute_nil, #refute_operator, #refute_respond_to, #refute_same, #skip

Methods inherited from MiniTest::Unit::TestCase

#initialize, #passed?, reset, #run, #setup, #teardown, test_methods, test_suites

Constructor Details

This class inherits a constructor from MiniTest::Unit::TestCase

Class Method Details

+ (Object) inherited(x)

:nodoc: :nodoc: :nodoc: :nodoc:



783
784
785
786
# File 'lib/minitest/unit.rb', line 783

def self.inherited x # :nodoc:
  # this helps me ferret out porting issues
  raise "Using minitest and test/unit in the same process: #{x}"
end

+ (Object) test_order



10
11
12
# File 'lib/test/unit/testcase.rb', line 10

def self.test_order
  :sorted
end