123456789_123456789_123456789_123456789_123456789_

Class: Minitest::SummaryReporter

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

Overview

A reporter that prints the header, summary, and failure details at the end of 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

StatisticsReporter - Inherited

#assertions

Total number of assertions.

#count

Total number of test cases.

#errors

Total number of tests that erred.

#failures

Total number of tests that failed.

#results

An Array of test cases that failed or were skipped.

#skips

Total number of tests that where skipped.

#start_time

Time the test run started.

#total_time

Test run time.

AbstractReporter - Inherited

#passed?

Did this run pass?

Instance Method Summary

StatisticsReporter - Inherited

#report

Report on the tracked statistics.

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

#binary_string (private)

See additional method definition at line 813.

[ GitHub ]

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

def binary_string; ''.b; end