A timer plugin for nose2
Project description
# nose2-test-timer
A timer plugin for nose2 to benchmark time that each unit test take
Ported from nose-timer. Functionality should be mostly but not yet entirely the same
### Install
To install the latest development version from Git
pip install git+https://github.com/kaichiachen/nose2-test-timer.git
Or to install the latest from source
git clone https://github.com/kaichiachen/nose2-test-timer.git cd nose2_test_timer pip install .
You can also make a developer install if you plan on modifying the source frequently
pip install -e .
### Usage
nose2 -v -s ./example –plugin=nose2_test_timer.plugin –with-timer –timer-json-file ‘./result.json’ –timer-color –timer-top-n 20
![](https://github.com/kaichiachen/nose2-test-timer/blob/master/images/colorexample.png?raw=true) ### License
nose2-test-timer is MIT Licensed library.
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 Distributions
Built Distribution
Hashes for nose2_test_timer-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d4a4db3a556fcb3e9824cc87578794b52e6bb64215f5339119ff5287e391e20 |
|
MD5 | 210f43423207909072cf6da57e5539e0 |
|
BLAKE2b-256 | cf51a4f2c8699ad019209318a4356a4afde4ac4f9361bec8d2abf2f8b72ac6ef |