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
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
pytest-progress-1.2.5.tar.gz
(4.8 kB
view details)
File details
Details for the file pytest-progress-1.2.5.tar.gz.
File metadata
- Download URL: pytest-progress-1.2.5.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24f28ec3d8b3a8cd0babb18a2494cc5387c86d0b96b6edfb3f3ddb3db43b8ed4
|
|
| MD5 |
e268f1b67310271f05c63921324fe902
|
|
| BLAKE2b-256 |
6db38bbc06c46c0271e918d151eaa4df7f8bc1cf0be80734368a22153f3a5869
|