File: performance_test.rb

package info (click to toggle)
redmine 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 27,268 kB
  • ctags: 23,995
  • sloc: ruby: 177,441; sh: 506; perl: 232; sql: 96; makefile: 31
file content (15 lines) | stat: -rw-r--r-- 641 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'active_support/testing/performance'
require 'active_support/testing/default'

module ActionController
  # An integration test that runs a code profiler on your test methods.
  # Profiling output for combinations of each test method, measurement, and
  # output format are written to your tmp/performance directory.
  #
  # By default, process_time is measured and both flat and graph_html output
  # formats are written, so you'll have two output files per test method.
  class PerformanceTest < ActionController::IntegrationTest
    include ActiveSupport::Testing::Performance
    include ActiveSupport::Testing::Default
  end
end