Class: Minitest::AbstractReporter

Inherits:
Object
  • Object
show all
Defined in:
opal/stdlib/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:



427
428
429
# File 'opal/stdlib/minitest.rb', line 427

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.



415
416
# File 'opal/stdlib/minitest.rb', line 415

def record result
end

#reportObject

Outputs the summary of the run.



421
422
# File 'opal/stdlib/minitest.rb', line 421

def report
end

#startObject

Starts reporting on the run.



408
409
# File 'opal/stdlib/minitest.rb', line 408

def start
end