module ActiveSupport::Testing::Performance::Minitest5AndGreater

Public Instance Methods

performance_failure(e) click to toggle source
# File lib/rails/perftest/active_support/testing/performance.rb, line 56
def performance_failure(e)
  case e
  when Minitest::Assertion
    self.failures << e
  else
    self.failures << Minitest::UnexpectedError.new(e)
  end
end
run() click to toggle source
# File lib/rails/perftest/active_support/testing/performance.rb, line 51
def run
  _performance_run
  self
end