Plugin for pytest to change exit code on uncaught exceptions
Free software: MIT license
Features
You can set a different exit code when uncaught exceptions in pytest test cases will occur
Installation
You can install the plugin by running
pip install pytest-unhandled-exception-exit-code
Alternately check out the source code and run
python setup.py install
Usage
If you want to change pytest exit code to detect unhandled exceptions in tests, give the plugin the desired exit code with the following option: pytest --unhandled-exc-exit-code 13
Release files for pytest-unhandled-exception-exit-code 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-unhandled-exception-exit-code-0.0.2.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_unhandled_exception_exit_code-0.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / pytest-unhandled-exception-exit-code-0.0.2.tar.gz
| Download URL | pytest-unhandled-exception-exit-code-0.0.2.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65272027f42f6dc58f5418c1203cc023a6ef305774918c3cf0e0023bbababc09
|
|
BLAKE2b-256 checksum How to use checksums |
746e45e3ee7c9ec4d83f1c0d99f915bfe7051b952ae9119e7dd4ed5499a5ac9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Release files / pytest_unhandled_exception_exit_code-0.0.2-py2.py3-none-any.whl
| Download URL | pytest_unhandled_exception_exit_code-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5d1527e30ec7f79118ce0f97dfc937819eb48f85d07f0da4f241081157353bfe
|
|
BLAKE2b-256 checksum How to use checksums |
e9a583844a2e2babf0bbbf068e4af96f3d2139a201de5d18018eb797706f858c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|