Method: Minitest::Test#location

Defined in:
lib/minitest/test.rb

#locationObject

The location identifier of this test.



213
214
215
216
# File 'lib/minitest/test.rb', line 213

def location
  loc = " [#{self.failure.location}]" unless passed? or error?
  "#{self.class}##{self.name}#{loc}"
end