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 ` ![](./images/colorexample.png) ### 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 Distribution
File details
Details for the file nose2-test-timer-0.0.1.tar.gz
.
File metadata
- Download URL: nose2-test-timer-0.0.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- 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 | dedae35c0a6b6f9ddc953c17af587b7ac6ab44b45b21871b2866008efd00ea36 |
|
MD5 | 047199853da74889a641239aeba63e52 |
|
BLAKE2b-256 | 295cbfcbd2f682bf31f695229f3b79e2ccfd8ebb8b13aae9e1da4f9bba4b4aeb |