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 3.8, 3.9, 3.10, 3.11 and 3.12

  • pytest

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

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

pytest_progress-1.3.0.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file pytest_progress-1.3.0.tar.gz.

File metadata

  • Download URL: pytest_progress-1.3.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pytest_progress-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b2a6cd0b0cd8b50b19f56777402835e546dc8404eb7fa77ac2ace9dc719ec50e
MD5 90d191d099e2f34d21725f68e9e7b033
BLAKE2b-256 71af285d33ac0630610eaf0bdba431ac7e3d3f8332e1c0244db360a7193c6541

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