Class: Minitest::Reporter

Inherits:
AbstractReporter show all
Defined in:
opal/stdlib/minitest.rb

Overview

:nodoc:

Direct Known Subclasses

ProgressReporter, StatisticsReporter

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractReporter

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

Constructor Details

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

:nodoc:



443
444
445
446
447
# File 'opal/stdlib/minitest.rb', line 443

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

Instance Attribute Details

#ioObject

The IO used to report.



436
437
438
# File 'opal/stdlib/minitest.rb', line 436

def io
  @io
end

#optionsObject

Command-line options for this run.



441
442
443
# File 'opal/stdlib/minitest.rb', line 441

def options
  @options
end