Ruby gem that provides a runner that outputs your slowest tests.
Run as follows to get output for your slowest 20 tests.
ProfilingHelper to your
class ActiveSupport::TestCase ... include ProfilingHelper ... end
Make sure to set the test runner to see the test output:
rake test:units TESTOPTS="-- --runner=profiling" rake test:functionals TESTOPTS="--runner=profiling" rake test:integration TESTOPTS="--runner=profiling"