class Minitest::Perf::Test

Attributes

name[R]
run[R]
suite[R]
total[R]

Public Class Methods

new(run, suite, name, total) click to toggle source
# File lib/minitest/perf/test.rb, line 6
def initialize(run, suite, name, total)
  @run    = run
  @suite  = suite
  @name   = name
  @total  = total
end

Public Instance Methods

persist() click to toggle source
# File lib/minitest/perf/test.rb, line 13
def persist
  Perf.persistence.write(self)
end