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
File details
Details for the file nose2_test_timer-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: nose2_test_timer-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.0 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d4a4db3a556fcb3e9824cc87578794b52e6bb64215f5339119ff5287e391e20 |
|
MD5 | 210f43423207909072cf6da57e5539e0 |
|
BLAKE2b-256 | cf51a4f2c8699ad019209318a4356a4afde4ac4f9361bec8d2abf2f8b72ac6ef |