class Minitest::AbstractReporter
Defines the API for Reporters. Subclass this and override whatever you want. Go nuts.
Public Instance Methods
Source
# File vendor/bundle/ruby/4.0.0/gems/minitest-6.0.1/lib/minitest.rb, line 743 def passed? true end
Did this run pass?
Source
# File vendor/bundle/ruby/4.0.0/gems/minitest-6.0.1/lib/minitest.rb, line 722 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 vendor/bundle/ruby/4.0.0/gems/minitest-6.0.1/lib/minitest.rb, line 731 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 vendor/bundle/ruby/4.0.0/gems/minitest-6.0.1/lib/minitest.rb, line 737 def report end
Outputs the summary of the run.
Source
# File vendor/bundle/ruby/4.0.0/gems/minitest-6.0.1/lib/minitest.rb, line 715 def start end
Starts reporting on the run.