module Minitest::Reportable
def class_name # :nodoc:
def class_name # :nodoc: raise NotImplementedError, "subclass responsibility" end
def location
def location loc = " [#{self.failure.location}]" unless passed? or error? "#{self.class_name}##{self.name}#{loc}" end
def passed?
def passed? not self.failure end
def result_code
def result_code self.failure and self.failure.result_code or "." end
def skipped?
def skipped? self.failure and Skip === self.failure end