Method: Minitest::Reportable#location
- Defined in:
- lib/minitest.rb
permalink #location ⇒ Object
The location identifier of this test. Depends on a method existing called class_name.
598 599 600 601 |
# File 'lib/minitest.rb', line 598 def location loc = " [#{self.failure.location.delete_prefix BASE_DIR}]" unless passed? or error? "#{self.class_name}##{self.name}#{loc}" end |