A small python package for reporting slow tests.
Project description
Slow Test Reporter
Slow Test Reporter reads JUnit test result 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.6.tar.gz
.
File metadata
- Download URL: slowtestreporter-0.0.6.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12aac4bf680dcfecd567aa4711bfd738f992fc8c10c0c3429ad9791ba69f6bf4 |
|
MD5 | 3664028a95fe5c84dc490e9fa360d297 |
|
BLAKE2b-256 | e970bfb459ac14bf5b81a83eca0c95f6a128a5af18e499a06183df18a1112934 |
File details
Details for the file slowtestreporter-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: slowtestreporter-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a9563e884e7b4663f16ec90b59b0d48823bd1b53bbb22041020c087c7a5552a |
|
MD5 | 8459afb6c82325c49ddc7b57008ef7a1 |
|
BLAKE2b-256 | 84eb5bb3c1b86f72473215c7d353a131514deda34b7f25adbb478243ab23559b |