class Minitest::Queue::OrderReporter
Public Class Methods
new(options = {})
click to toggle source
Calls superclass method
# File lib/minitest/queue/order_reporter.rb, line 5 def initialize(options = {}) @path = options.delete(:path) super end
Public Instance Methods
before_test(test)
click to toggle source
Calls superclass method
# File lib/minitest/queue/order_reporter.rb, line 15 def before_test(test) super @file.puts("#{test.class.name}##{test.name}") @file.flush end
report()
click to toggle source
# File lib/minitest/queue/order_reporter.rb, line 21 def report @file.close end
start()
click to toggle source
Calls superclass method
# File lib/minitest/queue/order_reporter.rb, line 10 def start @file = File.open(@path, 'w+') super end