yunojuno / django-juno-testrunner

A more useful (and slightly more glamorous) test runner for Django 1.6+ from the folks at YunoJuno
MIT License
7 stars 9 forks source link

Add capability to parse for slow tests #13

Closed tomwardill closed 8 years ago

tomwardill commented 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.

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!

stevejalim commented 8 years ago

@tomwardill You're going on my Christmas card list!

tomwardill commented 8 years ago

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!