Skip to main content

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

  1. pip install nose-congestion

  2. 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


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.1.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file nose-congestion-0.0.1.tar.gz.

File metadata

File hashes

Hashes for nose-congestion-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d6c87eaadd3b8a4227f520600ba8e4c348bf938540fc4f23df34793e97098b73
MD5 fedf5a2ff71c6078b3785a2e7f1ca057
BLAKE2b-256 6eb3be64ee883167d81536b5e91ee80923c797b1c4c4ad726b9568e5a112e71d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page