A small python package for reporting slow tests.
Project description
Slow Test Reporter
Slow Test Reporter reads JUnit test files and reports any slow running tests.
Installation
pip install slowtestreporter
Usage
$ slowtestreporter --help
usage: slowtestreporter [-h] [-t THRESHOLD] [-o OUTPUT_FILENAME] [-s] path
Reports slow tests based on the junit test input.
positional arguments:
path Junit file path
optional arguments:
-h, --help show this help message and exit
-t THRESHOLD, --threshold THRESHOLD
A float value threshold (in seconds) of when a test should fail when it exceeds this value
-o OUTPUT_FILENAME, --output-filename OUTPUT_FILENAME
Filename of the generated junit results without any extensions. The file will be generated with a .xml extension.
-s, --silent Suppresses output to display
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
Built Distribution
File details
Details for the file slowtestreporter-0.0.2.tar.gz
.
File metadata
- Download URL: slowtestreporter-0.0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3f23e801816e7deb6a931a6d7fcc9c3cbc30fa154df9e9acf8da143c7750eac |
|
MD5 | 41fdc5c8c8b2ee3760404cdfe2949f3a |
|
BLAKE2b-256 | e732b9e2b1dd8112770097a68de63299a7e6122db6af5e8a9fb978ef3e927d85 |
File details
Details for the file slowtestreporter-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: slowtestreporter-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501b1d650e7b6f922388a8ebf97bbbd3a4ae2911f54e01778bbb2bcc79c0ee92 |
|
MD5 | 2b87312a917267ef09eef0ab40c02276 |
|
BLAKE2b-256 | d3897ec5db48bf47d458f481cacbfa11e5b5f448d445e70614343e8c1e387925 |