Skip to main content

Exit pytest test session with custom exit code in different scenarios

Project description

PyPI version Python versions See Build Status on Travis CI See Build Status on AppVeyor

Exit pytest test session with custom exit code in different scenarios


  • TODO


  • TODO


You can install “pytest-custom_exit_code” via pip from PyPI:

$ pip install pytest-custom_exit_code


  • pytest --suppress-no-test-exit-code


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.


Distributed under the terms of the MIT license, “pytest-custom_exit_code” is free and open source software


If you encounter any problems, please file an issue along with a detailed description.


This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pytest_custom_exit_code-0.1.1-py3-none-any.whl (3.9 kB) Copy SHA256 hash SHA256 Wheel py3
pytest-custom_exit_code-0.1.1.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page