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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file slowtestreporter-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: slowtestreporter-0.0.3-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 | 656f1b72e117836b5f2b90eb0b872a4f0c1d1f3b5bdb892741ce77cdf991b2e8 |
|
MD5 | ecbe6deea4cd8b2cdd9a8cde72d5cd20 |
|
BLAKE2b-256 | a44f0cd8355dfb34fa6e29bc08fb70bca9c2fe07e3ea5b31ac8841547a3d9487 |