Class: Minitest::Unit::TestCase

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

Overview

:nodoc:

Constant Summary

Constants inherited from Test

Test::PASSTHROUGH_EXCEPTIONS, Test::SETUP_METHODS, Test::TEARDOWN_METHODS

Constants included from Reportable

Reportable::BASE_DIR

Constants included from Assertions

Assertions::E, Assertions::UNDEFINED

Constants inherited from Runnable

Runnable::SIGNALS

Instance Attribute Summary

Attributes inherited from Runnable

#assertions, #failures, #metadata, #time

Class Method Summary collapse

Methods inherited from Test

#capture_exceptions, #class_name, i_suck_and_my_tests_are_order_dependent!, make_my_diffs_pretty!, #neuter_exception, #new_exception, parallelize_me!, #run, runnable_methods, #sanitize_exception

Methods included from Guard

#jruby?, #maglev?, #mri?, #osx?, #rubinius?, #windows?

Methods included from Test::LifecycleHooks

#after_setup, #after_teardown, #before_setup, #before_teardown, #setup, #teardown

Methods included from Reportable

#class_name, #error?, #location, #passed?, #result_code, #skipped?

Methods included from Assertions

#_synchronize, #_where, #assert, #assert_empty, #assert_equal, #assert_in_delta, #assert_in_epsilon, #assert_includes, #assert_instance_of, #assert_kind_of, #assert_match, #assert_mock, #assert_nil, #assert_operator, #assert_output, #assert_path_exists, #assert_pattern, #assert_predicate, #assert_raises, #assert_respond_to, #assert_same, #assert_send, #assert_silent, #assert_throws, #capture_io, #capture_subprocess_io, #diff, diff, diff=, #exception_details, #fail_after, #flunk, #message, #mu_pp, #mu_pp_for_diff, #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_path_exists, #refute_pattern, #refute_predicate, #refute_respond_to, #refute_same, #skip, #skip_until, #skipped?, #things_to_diff

Methods inherited from Runnable

#failure, #initialize, #marshal_dump, #marshal_load, #metadata?, methods_matching, #name, #name=, on_signal, #passed?, reset, #result_code, run, #run, run_one_method, runnable_methods, runnables, #skipped?, test_order, #time_it, with_info_handler

Constructor Details

This class inherits a constructor from Minitest::Runnable

Class Method Details

.inherited(klass) ⇒ Object

:nodoc:



23
24
25
26
27
# File 'lib/minitest/unit.rb', line 23

def self.inherited klass # :nodoc:
  from = caller.first
  warn "MiniTest::Unit::TestCase is now Minitest::Test. From #{from}"
  super
end