class Minitest::AbstractReporter - minitest-5.7.0 Documentation

# class Minitest::AbstractReporter

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

### Public Instance Methods

passed?() click to toggle source

Did this run pass?

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

record(result) click to toggle source

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

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

report() click to toggle source

Outputs the summary of the run.

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

start() click to toggle source

Starts reporting on the run.

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