class Minitest::Result

def self.from runnable

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

def self.from: (TypedOperation::BaseTest runnable) -> Minitest::Result

This signature was generated using 1 sample from 1 application.

def self.from runnable
  o = runnable
  r = self.new o.name
  r.klass      = o.class.name
  r.assertions = o.assertions
  r.failures   = o.failures.dup
  r.time       = o.time
  r.source_location = o.method(o.name).source_location rescue ["unknown", -1]
  r
end