123456789_123456789_123456789_123456789_123456789_

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

Instance Method Summary

Instance Attribute Details

#passed?Boolean (readonly)

Did this run pass?

[ GitHub ]

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

def passed?
  true
end

Instance Method Details

#record(result)

Record a result and output the Runnable#result_code. Stores the result of the run if the run did not pass.

[ GitHub ]

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

def record result
end

#report

Outputs the summary of the run.

[ GitHub ]

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

def report
end

#start

Starts reporting on the run.

[ GitHub ]

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

def start
end