class Minitest::AbstractReporter
Defines the API for Reporters. Subclass this and override whatever you want. Go nuts.
Defines the API for Reporters. Subclass this and override whatever you want. Go nuts.
Public Class Methods
() → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.1/stdlib/minitest/0/minitest/abstract_reporter.rbs, line 7
def initialize: () -> void
Public Instance Methods
() → true
Source
# File vendor/bundle/ruby/4.0.0/gems/minitest-6.0.6/lib/minitest.rb, line 744 def passed? true end
Did this run pass?
Did this run pass?
(untyped klass, untyped name) → nil
Source
# File vendor/bundle/ruby/4.0.0/gems/minitest-6.0.6/lib/minitest.rb, line 723 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.
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.
(untyped result) → nil
Source
# File vendor/bundle/ruby/4.0.0/gems/minitest-6.0.6/lib/minitest.rb, line 732 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.
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.
() → nil
Source
# File vendor/bundle/ruby/4.0.0/gems/minitest-6.0.6/lib/minitest.rb, line 738 def report end
Outputs the summary of the run.
Outputs the summary of the run.
() → nil
Source
# File vendor/bundle/ruby/4.0.0/gems/minitest-6.0.6/lib/minitest.rb, line 716 def start end
Starts reporting on the run.
Starts reporting on the run.
() { (?) → untyped } → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.1/stdlib/minitest/0/minitest/abstract_reporter.rbs, line 51
def synchronize: () { (?) -> untyped } -> untyped