diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-23 22:37:52 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-23 22:38:19 -0500 |
commit | 4a55d1de8d42694bd060d834c549c53c079dd747 (patch) | |
tree | 925ccc0313668a1b9187ed1e6688aee49994031b /actionpack/lib/action_dispatch/testing/performance_test.rb | |
parent | 3600c3840e8d0c612c974e6af5ce010535492fbe (diff) | |
download | rails-4a55d1de8d42694bd060d834c549c53c079dd747.tar.gz rails-4a55d1de8d42694bd060d834c549c53c079dd747.tar.bz2 rails-4a55d1de8d42694bd060d834c549c53c079dd747.zip |
Move integration test runner into ActionDispatch
Diffstat (limited to 'actionpack/lib/action_dispatch/testing/performance_test.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/performance_test.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/testing/performance_test.rb b/actionpack/lib/action_dispatch/testing/performance_test.rb new file mode 100644 index 0000000000..b1ed9d31f4 --- /dev/null +++ b/actionpack/lib/action_dispatch/testing/performance_test.rb @@ -0,0 +1,15 @@ +require 'active_support/testing/performance' +require 'active_support/testing/default' + +module ActionDispatch + # 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 < ActionDispatch::IntegrationTest + include ActiveSupport::Testing::Performance + include ActiveSupport::Testing::Default + end +end |