Skip to main content

pytest plugin for instant test progress status

Project description

pytest-progress is a plugin for py.test that allows to print the test progress like number of tests Passed , Failed, Skipped and also instant test failure messages.

Requirements

You will need the following prerequisites in order to use pytest-progress:

  • Python 2.7, 3.4 or 3.5
  • pytest 2.9.0 or newer

Installation

To install pytest-progress:

$ pip install pytest-progress

Then run your tests with:

$ py.test --show-progress

If you would like more detailed output (one test per line), then you may use the verbose option:

$ py.test --verbose

Examples

To run the pytest with progress:

$ py.test --show-progress test_progress_report.py
$ py.test --showprogress test_progress_report.py

To run tests in verbose mode:

$ py.test --show-progress --verbose test_progress_report.py
$ py.test --showprogress --verbose test_progress_report.py

Download files

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

Source Distribution

pytest-progress-1.2.5.tar.gz (4.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page