nose-timelimit is a nose plugin that allows you automatically skip tests that are too slow.
It requires at least one run with the whole suite to register the timings. If a test fails timings are not registered for it (thus it will never get skipped).
pip install nose-timelimit or
--with-timelimit- Just activates the plugin (will only register timing data).
--timelimit=X- Runs only the tests that had previously ran under
--timelimit-silent- Don't print the duration for each test.
Known to work with
nose 1.3, it may work with nose as old as
0.10 - try it.
On first run:
And on second run: