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.6.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

slowtestreporter-0.0.6-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

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