Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acdha/nose-congestion
A Nose plugin which reports test setup / teardown times
https://github.com/acdha/nose-congestion
Last synced: 3 months ago
JSON representation
A Nose plugin which reports test setup / teardown times
- Host: GitHub
- URL: https://github.com/acdha/nose-congestion
- Owner: acdha
- License: other
- Created: 2012-09-07T19:13:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-30T13:56:07.000Z (over 10 years ago)
- Last Synced: 2024-09-22T07:46:57.561Z (4 months ago)
- Language: Python
- Homepage: http://pypi.python.org/pypi/nose-congestion
- Size: 225 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
===============
nose-congestion
===============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... image:: https://travis-ci.org/acdha/nose-congestion.svg?branch=master :target: https://travis-ci.org/acdha/nose-congestion
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.000Total Location
----------------------------------------------------------------------
0.104 module.tests.SlowTests.test_method
0.009 module.tests.FastTests.test_methodRequirements
------------* nose
* Python 2.6+, Python 3.3+