class Minitest::ProgressReporter

Experimental RBS support (using type sampling data from the type_fusion project).

# sig/minitest.rbs

class Minitest::ProgressReporter < Minitest::Reporter
  def record: (Minitest::Result result) -> nil
end

def prerecord klass, name #:nodoc:

:nodoc:
def prerecord klass, name #:nodoc:
  if options[:verbose] then
    io.print "%s#%s = " % [klass.name, name]
    io.flush
  end
end

def record result # :nodoc:

Experimental RBS support (using type sampling data from the type_fusion project).

def record: (Minitest::Result result) -> nil

This signature was generated using 1 sample from 1 application.

:nodoc:
def record result # :nodoc:
  io.print "%.2f s = " % [result.time] if options[:verbose]
  io.print result.result_code
  io.puts if options[:verbose]
end