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


Features

  • TODO

Requirements

  • TODO

Installation

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

$ pip install pytest-custom_exit_code

Usage

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

Contributing

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.

License

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

Issues

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

Acknowledegements

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.

Source Distribution

pytest-custom_exit_code-0.3.0.tar.gz (3.6 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page