Class: MiniTest::Unit::TestCase
- Inherits:
-
Object
- Object
- MiniTest::Unit::TestCase
- Defined in:
- lib/test/unit.rb
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
856 857 858 859 860 861 862 |
# File 'lib/test/unit.rb', line 856 def run_test(name) progname, $0 = $0, "#{$0}: #{self.class}##{name}" self.__send__(name) ensure [email protected].delete(RUN_TEST_TRACE) if [email protected] $0 = progname end |