123456789_123456789_123456789_123456789_123456789_

Class: Minitest::Sprint::RakeReporter

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

Overview

An extra minitest reporter to output how to rerun failures using rake.

Class Method Summary

SprintReporter - Inherited

::Minitest::AbstractReporter - Inherited

Instance Attribute Summary

  • #name rw

    The name of the rake task to rerun.

SprintReporter - Inherited

#style

The style to report, either lines or regexp.

#results

::Minitest::AbstractReporter - Inherited

#passed?

Did this run pass?

Instance Method Summary

SprintReporter - Inherited

::Minitest::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.

#synchronize

Constructor Details

.new(name = nil) ⇒ RakeReporter

This method is for internal use only.
[ GitHub ]

  
# File 'lib/minitest/sprint.rb', line 92

def initialize name = nil # :nodoc:
  super()
  self.name    = name
end

Instance Attribute Details

#name (rw)

The name of the rake task to rerun. Defaults to nil.

[ GitHub ]

  
# File 'lib/minitest/sprint.rb', line 90

attr_accessor :name

Instance Method Details