Class: MiniTest::Unit::TestCase
- Inherits:
-
Object
- Object
- MiniTest::Unit::TestCase
- Defined in:
- lib/test/unit.rb
Overview
:nodoc: all
Direct Known Subclasses
Constant Summary collapse
- RUN_TEST_TRACE =
"#{__FILE__}:#{__LINE__+3}:in `run_test'".freeze
Instance Method Summary collapse
Instance Method Details
#run_test(name) ⇒ Object
867 868 869 870 871 872 873 |
# File 'lib/test/unit.rb', line 867 def run_test(name) progname, $0 = $0, "#{$0}: #{self.class}##{name}" self.__send__(name) ensure $@.delete(RUN_TEST_TRACE) if $@ $0 = progname end |