Class: Minitest::Reporter

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

Overview

:nodoc:

Direct Known Subclasses

ProgressReporter, StatisticsReporter

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractReporter

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

Constructor Details

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

:nodoc:



604
605
606
607
608
# File 'lib/minitest.rb', line 604

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

Instance Attribute Details

#ioObject

The IO used to report.



597
598
599
# File 'lib/minitest.rb', line 597

def io
  @io
end

#optionsObject

Command-line options for this run.



602
603
604
# File 'lib/minitest.rb', line 602

def options
  @options
end