Class: Minitest::AbstractReporter
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
| Subclasses: 
          CompositeReporter, ProgressReporter, Minitest::Reporter, Minitest::StatisticsReporter, SummaryReporter
         | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Instance Chain: 
          self,
          Mutex_m
         | |
| Inherits: | Object | 
| Defined in: | lib/minitest.rb | 
Overview
Defines the API for Reporters. Subclass this and override whatever you want. Go nuts.
Instance Attribute Summary
- 
    
      #passed?  ⇒ Boolean 
    
    readonly
    Did this run pass? 
Instance Method Summary
- 
    
      #prerecord(klass, name)  
    
    About to start running a test. 
- 
    
      #record(result)  
    
    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
    #passed?  ⇒ Boolean  (readonly)
  
Did this run pass?
# File 'lib/minitest.rb', line 456
def passed? true end
Instance Method Details
#prerecord(klass, name)
About to start running a test. This allows a reporter to show that it is starting or that we are in the middle of a test run.
# File 'lib/minitest.rb', line 437
def prerecord klass, name end
#record(result)
Record a result and output the Runnable#result_code. Stores the result of the run if the run did not pass.
# File 'lib/minitest.rb', line 444
def record result end
#report
Outputs the summary of the run.
# File 'lib/minitest.rb', line 450
def report end
#start
Starts reporting on the run.
# File 'lib/minitest.rb', line 430
def start end