Skip to main content
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.

Release files for pytest-custom-exit-code 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-custom-exit-code 0.3.0
File Size Uploaded
pytest-custom_exit_code-0.3.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-custom-exit-code 0.3.0
File Interpreter ABI Platform
pytest_custom_exit_code-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / pytest-custom_exit_code-0.3.0.tar.gz

Download URL pytest-custom_exit_code-0.3.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
51ffff0ee2c1ddcc1242e2ddb2a5fd02482717e33a2326ef330e3aa430244635
BLAKE2b-256 checksum
How to use checksums
929de1eb0af5e96a5c34f59b9aa69dfb680764420fe60f2ec28cfbc5339f99f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

Release files / pytest_custom_exit_code-0.3.0-py3-none-any.whl

Download URL pytest_custom_exit_code-0.3.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e0ce6e57ce3a583cb7e5023f7d1021e19dfec22be41d9ad345bae2fc61caf3b
BLAKE2b-256 checksum
How to use checksums
35a0effb6cbbccfd1c106c572d3d619b3418d71093afb4cd4f91f51e6a1799d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page