python - How can I find which tests are running slowly in nosetests? -


this question has answer here:

we've got test suite of 2000 tests distributed on 50-60 files, run nosetests. best way figure out tests running slowly? add start/stop timer setup method of every test, cumbersome add every file.

the nosetests prof documentation provides details on how profile application. easiest way is:

nosetests --with-profile 

Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -