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).
Installation
Just run pip install nose-timelimit or easy_install nose-timelimit.
Options
--with-timelimit - Just activates the plugin (will only register timing data).
--timelimit=X - Runs only the tests that had previously ran under X seconds. Implies --with-timelimit.
--timelimit-silent - Don’t print the duration for each test.
Requirements
Known to work with nose 1.3, it may work with nose as old as 0.10 - try it.
Example
On first run:
And on second run:
Release files for nose-timelimit 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nose-timelimit-0.1.2.tar.gz | 3.9 kB | Details |
Release files / nose-timelimit-0.1.2.tar.gz
| Download URL | nose-timelimit-0.1.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff4c4dd9e5f3630b55def8af86efcb9d276b12e048a256c519e0846b0d41586b
|
|
BLAKE2b-256 checksum How to use checksums |
a31203c975cf0763047c1be99862884297db5001d84a6c6dbfc40e91dabeba45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |