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 details)

Uploaded Source

Built Distribution

pytest_custom_exit_code-0.3.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pytest-custom_exit_code-0.3.0.tar.gz.

File metadata

  • Download URL: pytest-custom_exit_code-0.3.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pytest-custom_exit_code-0.3.0.tar.gz
Algorithm Hash digest
SHA256 51ffff0ee2c1ddcc1242e2ddb2a5fd02482717e33a2326ef330e3aa430244635
MD5 b1b4373872eee80b5feebc5d6f0f2a9a
BLAKE2b-256 929de1eb0af5e96a5c34f59b9aa69dfb680764420fe60f2ec28cfbc5339f99f8

See more details on using hashes here.

File details

Details for the file pytest_custom_exit_code-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pytest_custom_exit_code-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pytest_custom_exit_code-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e0ce6e57ce3a583cb7e5023f7d1021e19dfec22be41d9ad345bae2fc61caf3b
MD5 7ecec62e6312e1464e7c8d15facb8b5f
BLAKE2b-256 35a0effb6cbbccfd1c106c572d3d619b3418d71093afb4cd4f91f51e6a1799d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page