class Minitest::Hyper::Reporter
Attributes
all_results[RW]
Public Class Methods
new(io = $stdout, options = {})
click to toggle source
Calls superclass method
# File lib/minitest/hyper/reporter.rb, line 8 def initialize(io = $stdout, options = {}) super self.all_results = [] end
Public Instance Methods
record(result)
click to toggle source
Calls superclass method
# File lib/minitest/hyper/reporter.rb, line 13 def record(result) super all_results << result end
report()
click to toggle source
Calls superclass method
# File lib/minitest/hyper/reporter.rb, line 18 def report super @report = Report.new(self) @report.write io.puts "Wrote HTML test report to #{ @report.url }" end
to_h()
click to toggle source
# File lib/minitest/hyper/reporter.rb, line 25 def to_h HashFormatter.as_hash(self) end