Class: Minitest::ExampleResult

Inherits:
Result
  • Object
show all
Defined in:
lib/minitest/example.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.runnable_methodsObject



56
57
58
# File 'lib/minitest/example.rb', line 56

def self.runnable_methods
  []
end

Instance Method Details

#locationObject



60
61
62
63
# File 'lib/minitest/example.rb', line 60

def location
  loc = " [#{source_location[0]}:#{source_location[1]}]" unless passed? or error?
  "#{self.class_name}##{self.name}#{loc}"
end