Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slowtestreporter-0.0.8.dev1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

slowtestreporter-0.0.8.dev1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file slowtestreporter-0.0.8.dev1.tar.gz.

File metadata

  • Download URL: slowtestreporter-0.0.8.dev1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for slowtestreporter-0.0.8.dev1.tar.gz
Algorithm Hash digest
SHA256 1df1c48d2a936b0947ac163b255103d9e83f82109095e65cb3067187942271a3
MD5 1b4a02a23cf9bebb191383346b71d013
BLAKE2b-256 45ce212187cc9d3e53a1fc75ae77a2f82b433d3b2059f7f29933595323188707

See more details on using hashes here.

File details

Details for the file slowtestreporter-0.0.8.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for slowtestreporter-0.0.8.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 92771acdf0890bd048f00e8414f86b50a4662bff2d8d6b9c13101108eabd42cc
MD5 3cc4a8f608ca4069f5e2e57244d23bbb
BLAKE2b-256 5a41bd226d171416a579ead710be6500a42dbb17a9f18ee85b424e0242027ea3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page