4

I'm writing tests using the default Rails testing framework. Is there a way to find which tests are the slowest?

sakovias
  • 1,356
  • 1
  • 17
  • 26

1 Answers1

3

How about minitest-reporters, as suggested here:

How can I generate a report that shows me my slowest running tests in Rails 3.2, Ruby 1.9?

It's Rails 4-compatible, and the Installation and Usage sections on GitHub show how to configure the SpecReporter option.

Community
  • 1
  • 1
TK-421
  • 10,598
  • 3
  • 38
  • 34