Defines the API for Reporters. Subclass this and override whatever you want. Go nuts.
Did this run pass?
# File minitest-5.14.2/lib/minitest.rb, line 588 def passed? true 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.
# File minitest-5.14.2/lib/minitest.rb, line 567 def prerecord klass, name 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.
# File minitest-5.14.2/lib/minitest.rb, line 576 def record result end