Sha256: ccc0cdb4a42d14a575148b23601637298358dd55ad326af53bf0ea51db210d99

Contents?: true

Size: 892 Bytes

Versions: 55

Compression:

Stored size: 892 Bytes

Contents

# <!-- rdoc-file=lib/minitest.rb -->
# This represents a test result in a clean way that can be marshalled over a
# wire. Tests can do anything they want to the test instance and can create
# conditions that cause Marshal.dump to blow up. By using Result.from(a_test)
# you can be reasonably sure that the test result can be marshalled.
#
class Minitest::Result < ::Minitest::Runnable
  # <!--
  #   rdoc-file=lib/minitest.rb
  #   - from(runnable)
  # -->
  # Create a new test result from a Runnable instance.
  #
  def self.from: (untyped runnable) -> untyped
  def class_name: () -> untyped
  def to_s: () -> untyped

  # <!-- rdoc-file=lib/minitest.rb -->
  # The class name of the test result.
  #
  attr_accessor klass: untyped

  # <!-- rdoc-file=lib/minitest.rb -->
  # The location of the test method.
  #
  attr_accessor source_location: untyped
  include Minitest::Reportable
end

Version data entries

55 entries across 55 versions & 3 rubygems

Version Path
rbs-3.4.0.pre.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.3.2 stdlib/minitest/0/minitest/result.rbs
rbs-3.3.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.3.0 stdlib/minitest/0/minitest/result.rbs
rbs-3.3.0.pre.2 stdlib/minitest/0/minitest/result.rbs
rbs-3.3.0.pre.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.2.2 stdlib/minitest/0/minitest/result.rbs
rbs-3.2.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.2.0 stdlib/minitest/0/minitest/result.rbs
rbs-3.2.0.pre.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.1.3 stdlib/minitest/0/minitest/result.rbs
rbs-3.1.2 stdlib/minitest/0/minitest/result.rbs
rbs-3.1.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.1.0 stdlib/minitest/0/minitest/result.rbs
rbs-3.0.4 stdlib/minitest/0/minitest/result.rbs
rbs-3.0.3 stdlib/minitest/0/minitest/result.rbs
rbs-3.0.2 stdlib/minitest/0/minitest/result.rbs
rbs-3.0.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.0.0 stdlib/minitest/0/minitest/result.rbs
rbs-3.0.0.dev.3 stdlib/minitest/0/minitest/result.rbs