Class: Minitest::CompositeReporter
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
AbstractReporter
|
|
Instance Chain:
self,
AbstractReporter,
Mutex_m
|
|
Inherits: |
Minitest::AbstractReporter
|
Defined in: | lib/minitest.rb |
Overview
Dispatch to multiple reporters as one.
Instance Attribute Summary
-
#reporters
rw
The list of reporters to dispatch to.
AbstractReporter - Inherited
#passed? | Did this run pass? |
Instance Method Summary
-
#<<(reporter)
Add another reporter to the mix.
AbstractReporter - Inherited
#prerecord | About to start running a test. |
#record | Record a result and output the Runnable#result_code. |
#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.
# File 'lib/minitest.rb', line 639
attr_accessor :reporters
Instance Method Details
#<<(reporter)
Add another reporter to the mix.
# File 'lib/minitest.rb', line 653
def << reporter self.reporters << reporter end