module Minitest::Reportable

def location

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