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 Total Location ---------------------------------------------------------------------- 0.104 module.tests.SlowTests.test_method 0.009 module.tests.FastTests.test_method
Requirements
nose
Python 2.6+, Python 3.3+
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.3.tar.gz
(2.8 kB
view details)
File details
Details for the file nose-congestion-0.0.3.tar.gz.
File metadata
- Download URL: nose-congestion-0.0.3.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9134330abd39c4a74191fa157dea4b489c17be3aea30009fafdbdd689e5a0303
|
|
| MD5 |
660bade216b2964e016f3631d78a23cd
|
|
| BLAKE2b-256 |
a25d030e8ead13828d6be31d20dd8eb181675f9a14fea4719536cea13d94f2ae
|