Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

  Total  Location
----------------------------------------------------------------------
  0.104  module.tests.SlowTests.test_method
  0.009  module.tests.FastTests.test_method

Requirements

  • nose
  • Python 2.6+, Python 3.3+
Release History

Release History

This version
History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nose-congestion-0.0.3.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Mar 26, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting