W3cubDocs

/Ruby / Minitest

class Minitest::AbstractReporter

Parent:
Object
Included modules:

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

Public Instance Methods

passed?() Show source
# File lib/minitest.rb, line 578
def passed?
  true
end

Did this run pass?

prerecord(klass, name) Show source
# File lib/minitest.rb, line 559
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.

record(result) Show source
# File lib/minitest.rb, line 566
def record result
end

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

report() Show source
# File lib/minitest.rb, line 572
def report
end

Outputs the summary of the run.

start() Show source
# File lib/minitest.rb, line 552
def start
end

Starts reporting on the run.

© Ryan Davis, seattle.rb
Licensed under the MIT License.