123456789_123456789_123456789_123456789_123456789_

Class: Minitest::ProgressReporter

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

Overview

A very simple reporter that prints the “dots” during the run.

This is added to the top-level CompositeReporter at the start of the run. If you want to change the output of minitest via a plugin, pull this out of the composite and replace it with your own.

Instance Attribute Summary

AbstractReporter - Inherited

#passed?

Did this run pass?

Instance Method Summary

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 Method Details

#prerecord(klass, name)

[ GitHub ]

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

def prerecord klass, name
  if options[:verbose] then
    io.print "%s#%s = " % [klass, name]
    io.flush
  end
end