instance method prerecord

Ruby on Rails 8.0.4

Since v7.2.3

Available in: v7.2.3 v8.0.4 v8.1.2

Signature

prerecord(test_class, test_name)

No documentation comment.

Parameters

test_class req
test_name req
Source
# File railties/lib/rails/test_unit/reporter.rb, line 11
    def prerecord(test_class, test_name)
      super
      if options[:verbose]
        io.print "%s#%s = " % [test_class.name, test_name]
      end
    end

Defined in railties/lib/rails/test_unit/reporter.rb line 11 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::TestUnitReporter

Type at least 2 characters to search.

↑↓ navigate · open · esc close