Plugin for py.test set a different exit code on uncaught exceptions
Project description
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
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
Close
Hashes for pytest-unhandled-exception-exit-code-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a6935c9341e2870cfffa307858400b0e23015810eccd3bef9a886620bd59dd |
|
MD5 | d511058e072c8f44f04bae78626160c9 |
|
BLAKE2b-256 | 5ca5fd52e996edeb02c0b9f10f997f1b47a54ca8858969b6d7a09858613cabc5 |