pytest-exit-status
Pytest plugin that overrides the exit codes.
Pytest only offers two exit status codes for full test executions (when all collected tests were executed):
- Exit code 0: All tests had the
passed,xpassedorxfailedoutcome. - Exit code 1: Some tests had the
failedoutcome.
Some continuous integration tools like Jenkins support the unstable status and it can be frustrating not to take advantage of this pipeline status to highlight test executions with xfailed tests.
This plugin aims to modify the exit code 0 and add a new exit code 6.
The proposed exit codes are:
- Exit code 0: All tests had the
passedorxpassedoutcome. - Exit code 6: Some tests had the
xfailedoutcome or there were some errors (setup or teardown errors).
The other exit codes are not modified.
To install the plugin:
pip install pytest-exit-status
If you like this software, consider contributing to the project through buy me a coffee
Metadata
Release files for pytest-exit-status 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest_exit_status-1.0.0.tar.gz | 2.1 kB | Without provenance | Details for pytest_exit_status-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_exit_status-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pytest_exit_status-1.0.0-py3-none-any.whl |
Total release size: 5.0 kB
Release files / pytest_exit_status-1.0.0.tar.gz
| Download URL | pytest_exit_status-1.0.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df9fcfb205a2de82f3ae5bcaf0bc1f14b5b7ec91344bd6c13a860faf7b588d7b
|
|
BLAKE2b-256 checksum How to use checksums |
df91cb2765d93d47de8c5c15c83b9b33816081b77fcbb39dbf9ff28332036dcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.16
|
Release files / pytest_exit_status-1.0.0-py3-none-any.whl
| Download URL | pytest_exit_status-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
148b377392f8ddf799472a3bc417fd15d313904a0d19d3fb3a39cc8150d2dd86
|
|
BLAKE2b-256 checksum How to use checksums |
65e2d8766d6136422025989e9beba552ddee04a3b45e41ed38f15f63b0ee17be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.16
|
Security for pytest-exit-status 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.