Closed tomwardill closed 8 years ago
This adds a --slow-tests=5 option to the test runner. It builds a list of the slowest tests, then outputs that at the end of the test run.
--slow-tests=5
Unsure about the output format, maybe could be prettier, in line with the rest of the output, happy to change it.
Accidentally closes https://github.com/yunojuno/django-juno-testrunner/issues/12 that I've just seen after I wrote this!
@tomwardill You're going on my Christmas card list!
It's worth noting that this only instruments the tests themselves, not setUp and it's related family. Unfortunately didn't help with finding my problem!
setUp
This adds a
--slow-tests=5
option to the test runner. It builds a list of the slowest tests, then outputs that at the end of the test run.Unsure about the output format, maybe could be prettier, in line with the rest of the output, happy to change it.
Accidentally closes https://github.com/yunojuno/django-juno-testrunner/issues/12 that I've just seen after I wrote this!