1. Minitest ::
  2. AbstractReporter

class Minitest::AbstractReporter

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

Public Instance Methods

Source
# File lib/minitest.rb, line 726
def passed?
 true
end

Did this run pass?

Source
# File lib/minitest.rb, line 705
def prerecord klass, name
end

About to start running a test. This allows a reporter to show that it is starting or that we are in the middle of a test run.

Source
# File lib/minitest.rb, line 714
def record result
end

Output and record the result of the test. Call result#result_code to get the result character string. Stores the result of the run if the run did not pass.

Source
# File lib/minitest.rb, line 720
def report
end

Outputs the summary of the run.

Source
# File lib/minitest.rb, line 698
def start
end

Starts reporting on the run.