Class: Minitest::Reporter

Inherits:
AbstractReporter show all
Defined in:
lib/minitest.rb

Overview

AbstractReportera

Direct Known Subclasses

ProgressReporter, StatisticsReporter

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractReporter

#passed?, #prerecord, #record, #report, #start, #synchronize

Constructor Details

#initialize(io = $stdout, options = {}) ⇒ Reporter

:nodoc:



760
761
762
763
764
# File 'lib/minitest.rb', line 760

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

Instance Attribute Details

#ioObject

The IO used to report.



753
754
755
# File 'lib/minitest.rb', line 753

def io
  @io
end

#optionsObject

Command-line options for this run.



758
759
760
# File 'lib/minitest.rb', line 758

def options
  @options
end