123456789_123456789_123456789_123456789_123456789_

Class: Minitest::CompositeReporter

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
self, AbstractReporter, Mutex_m
Inherits: Minitest::AbstractReporter
Defined in: lib/minitest.rb

Overview

Dispatch to multiple reporters as one.

Instance Attribute Summary

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.

Instance Attribute Details

#reporters (rw)

The list of reporters to dispatch to.

[ GitHub ]

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

attr_accessor :reporters

Instance Method Details

#<<(reporter)

Add another reporter to the mix.

[ GitHub ]

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

def << reporter
  self.reporters << reporter
end