class Minitest::Reporters::PrideReporter
Constants
- VERSION
Public Class Methods
new(options = {})
click to toggle source
Calls superclass method
# File lib/minitest/reporters/pride_reporter.rb, line 8 def initialize(options = {}) super @pride_io = Minitest::PrideLOL.new($stdout) end
Public Instance Methods
record(test)
click to toggle source
# File lib/minitest/reporters/pride_reporter.rb, line 13 def record(test) # Bypass super and call super's super self.class.superclass.superclass .instance_method(:record).bind(self).call(test) print "#{"%.2f" % test.time} = " if options[:verbose] @pride_io.print(test.result_code) if @fast_fail && (test.skipped? || test.failure) puts print_failure(test) end end