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.7.0.dev.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.6.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.6.0 stdlib/minitest/0/minitest/result.rbs
rbs-3.6.0.pre.3 stdlib/minitest/0/minitest/result.rbs
rbs-3.6.0.pre.2 stdlib/minitest/0/minitest/result.rbs
rbs-3.6.0.pre.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.6.0.dev.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.5.3 stdlib/minitest/0/minitest/result.rbs
rbs-3.5.2 stdlib/minitest/0/minitest/result.rbs
rbs-3.5.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.5.1.pre.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.5.0 stdlib/minitest/0/minitest/result.rbs
rbs-3.5.0.pre.2 stdlib/minitest/0/minitest/result.rbs
rbs-3.5.0.pre.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.4.4 stdlib/minitest/0/minitest/result.rbs
rbs-3.4.3 stdlib/minitest/0/minitest/result.rbs
rbs-3.4.2 stdlib/minitest/0/minitest/result.rbs
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/rbs-2.8.4/stdlib/minitest/0/minitest/result.rbs
rbs-3.4.1 stdlib/minitest/0/minitest/result.rbs
rbs-3.4.0 stdlib/minitest/0/minitest/result.rbs