Find slow test setUp/tearDown
Project description
Nose can report test execution time in its various output formats but it doesn’t include the setUp or tearDown time, which can be substantial.
Usage
pip install nose-congestion
nosetests --with-congestion
Output
After all of the tests complete, a simple table will be printed:
Location Total setUp tearDown ---------------------------------------------------------------------- module.tests.FastTests 7.187 1.659 0.000 module.tests.SlowTests 0.047 0.002 0.000
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nose-congestion-0.0.2.tar.gz
(2.1 kB
view details)
File details
Details for the file nose-congestion-0.0.2.tar.gz
.
File metadata
- Download URL: nose-congestion-0.0.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4010a7811079238196a1e47353df28371f63d2be0656e7590a26d0972dba1d6 |
|
MD5 | f4f28ea1a477399baf78b2490fe12d97 |
|
BLAKE2b-256 | 2899b255766b2ace17497ca20aaa9dd6391e013ea27cb524a25335df2b6fd2db |