Class: Minitest::AbstractReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/minitest.rb

Overview

Defines the API for Reporters. Subclass this and override whatever you want. Go nuts.

Direct Known Subclasses

CompositeReporter, Reporter

Instance Method Summary collapse

Instance Method Details

#passed?Boolean

Did this run pass?

Returns:

  • (Boolean)


532
533
534
# File 'lib/minitest.rb', line 532

def passed?
  true
end

#record(result) ⇒ Object

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



520
521
# File 'lib/minitest.rb', line 520

def record result
end

#reportObject

Outputs the summary of the run.



526
527
# File 'lib/minitest.rb', line 526

def report
end

#startObject

Starts reporting on the run.



513
514
# File 'lib/minitest.rb', line 513

def start
end