
Security News
NVD Quietly Sweeps 100K+ CVEs Into a “Deferred” Black Hole
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
pytest-custom-exit-code
Advanced tools
Exit pytest test session with custom exit code in different scenarios
.. image:: https://img.shields.io/pypi/v/pytest-custom_exit_code.svg :target: https://pypi.org/project/pytest-custom_exit_code :alt: PyPI version
.. image:: https://img.shields.io/pypi/pyversions/pytest-custom_exit_code.svg :target: https://pypi.org/project/pytest-custom_exit_code :alt: Python versions
.. image:: https://travis-ci.org/yashtodi94/pytest-custom_exit_code.svg?branch=master :target: https://travis-ci.org/yashtodi94/pytest-custom_exit_code :alt: See Build Status on Travis CI
.. image:: https://ci.appveyor.com/api/projects/status/github/yashtodi94/pytest-custom_exit_code?branch=master :target: https://ci.appveyor.com/project/yashtodi94/pytest-custom_exit_code/branch/master :alt: See Build Status on AppVeyor
Exit pytest test session with custom exit code in different scenarios
You can install "pytest-custom_exit_code" via pip
_ from PyPI
_::
$ pip install pytest-custom_exit_code
::
pytest --suppress-no-test-exit-code
pytest --suppress-tests-failed-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.
.. _Cookiecutter
: https://github.com/audreyr/cookiecutter
.. _@hackebrot
: https://github.com/hackebrot
.. _MIT
: http://opensource.org/licenses/MIT
.. _BSD-3
: http://opensource.org/licenses/BSD-3-Clause
.. _GNU GPL v3.0
: http://www.gnu.org/licenses/gpl-3.0.txt
.. _Apache Software License 2.0
: http://www.apache.org/licenses/LICENSE-2.0
.. _cookiecutter-pytest-plugin
: https://github.com/pytest-dev/cookiecutter-pytest-plugin
.. _file an issue
: https://github.com/yashtodi94/pytest-custom_exit_code/issues
.. _pytest
: https://github.com/pytest-dev/pytest
.. _tox
: https://tox.readthedocs.io/en/latest/
.. _pip
: https://pypi.org/project/pip/
.. _PyPI
: https://pypi.org/project
This pytest
_ plugin was generated with Cookiecutter
_ along with @hackebrot
's cookiecutter-pytest-plugin
template.
FAQs
Exit pytest test session with custom exit code in different scenarios
We found that pytest-custom-exit-code demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
Research
Security News
Lazarus-linked threat actors expand their npm malware campaign with new RAT loaders, hex obfuscation, and over 5,600 downloads across 11 packages.
Security News
Safari 18.4 adds support for Iterator Helpers and two other TC39 JavaScript features, bringing full cross-browser coverage to key parts of the ECMAScript spec.