Sha256: 89fdb3c46de96682dfa7ce88ee257d53ecf8dad1a9d9c5c6bd40ee0f49e61f7a

Contents?: true

Size: 1.12 KB

Versions: 55

Compression:

Stored size: 1.12 KB

Contents

# <!-- rdoc-file=lib/minitest.rb -->
# Defines the API for Reporters. Subclass this and override whatever you want.
# Go nuts.
#
class Minitest::AbstractReporter
  # <!--
  #   rdoc-file=lib/minitest.rb
  #   - start()
  # -->
  # Starts reporting on the run.
  #
  def start: () -> nil

  # <!--
  #   rdoc-file=lib/minitest.rb
  #   - prerecord(klass, name)
  # -->
  # 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.
  #
  def prerecord: (untyped klass, untyped name) -> nil

  # <!--
  #   rdoc-file=lib/minitest.rb
  #   - record(result)
  # -->
  # Output and record the result of the test. Call
  # [result#result_code](rdoc-ref:Runnable#result_code) to get the result
  # character string. Stores the result of the run if the run did not pass.
  #
  def record: (untyped result) -> nil

  # <!--
  #   rdoc-file=lib/minitest.rb
  #   - report()
  # -->
  # Outputs the summary of the run.
  #
  def report: () -> nil

  # <!--
  #   rdoc-file=lib/minitest.rb
  #   - passed?()
  # -->
  # Did this run pass?
  #
  def passed?: () -> true
  include Mutex_m
end

Version data entries

55 entries across 55 versions & 3 rubygems

Version Path
rbs-3.7.0.dev.1 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.6.1 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.6.0 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.6.0.pre.3 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.6.0.pre.2 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.6.0.pre.1 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.6.0.dev.1 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.5.3 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.5.2 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.5.1 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.5.1.pre.1 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.5.0 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.5.0.pre.2 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.5.0.pre.1 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.4.4 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.4.3 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.4.2 stdlib/minitest/0/minitest/abstract_reporter.rbs
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/rbs-2.8.4/stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.4.1 stdlib/minitest/0/minitest/abstract_reporter.rbs
rbs-3.4.0 stdlib/minitest/0/minitest/abstract_reporter.rbs