1

We've got a test suite of about 2000 tests distributed over 50-60 files, that we run with nosetests. What is the best way to figure out which tests are running slowly? I could add a start/stop timer to the setUp method of every test, but this would be cumbersome to add to every file.

Kevin Burke
  • 61,194
  • 76
  • 188
  • 305

1 Answers1

0

The nosetests prof documentation provides details on how to profile your application. Easiest way is:

nosetests --with-profile
will-hart
  • 3,742
  • 2
  • 38
  • 48