123456789_123456789_123456789_123456789_123456789_

Class: Minitest::Reporter

Do not use. This class is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Minitest::AbstractReporter
Defined in: lib/minitest.rb

Class Method Summary

Instance Attribute Summary

  • #io rw

    The IO used to report.

  • #options rw

    Command-line options for this run.

AbstractReporter - Inherited

#passed?

Did this run pass?

Instance Method Summary

AbstractReporter - Inherited

#prerecord

About to start running a test.

#record

Output and record the result of the test.

#report

Outputs the summary of the run.

#start

Starts reporting on the run.

#synchronize

Constructor Details

.new(io = $stdout, options = {}) ⇒ Reporter

[ GitHub ]

  
# File 'lib/minitest.rb', line 695

def initialize io = $stdout, options = {} # :nodoc:
  super()
  self.io      = io
  self.options = options
end

Instance Attribute Details

#io (rw)

The IO used to report.

[ GitHub ]

  
# File 'lib/minitest.rb', line 688

attr_accessor :io

#options (rw)

Command-line options for this run.

[ GitHub ]

  
# File 'lib/minitest.rb', line 693

attr_accessor :options