Skip to main content

PyTest Plus Plugin :: extends pytest functionality

Project description

PyTest Plus Plugin :: extends pytest functionality

PyPI version Python versions CI Python Black Code Style

This plugin aims to be used to host multiple basic pytest extensions that meet the following criteria:

  • Downgrade gracefully, meaning that if the plugin is removed, you will still be able to run pytest

PYTEST_REQPASS

If you define environment variable PYTEST_REQPASS=123 and at the end of the testing the number of passed tests is not exactly 123, pytest will return exit code 1.

This feature is aimed for CI usage in order to prevent accidental skipping of some tests. We do expect users to define this variable within their own CI job definitions. The number of tests executed is likely to be dependent on the CI job.

We discourage defining this inside places like tox.ini because when a developer runs tests, they are likely to endup running a different number of tests. Also, this feature makes no sense if you try to mention a specific test.

Links

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-plus-0.4.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

pytest_plus-0.4.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pytest-plus-0.4.0.tar.gz.

File metadata

  • Download URL: pytest-plus-0.4.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pytest-plus-0.4.0.tar.gz
Algorithm Hash digest
SHA256 750ed025dec22cff1c5a6f693ebfcd7d444b5fc4866b40513187e5ce96ff1f98
MD5 870b680ed7988c9d5de66af9f1e44522
BLAKE2b-256 df5a2d0632050b9e93b19297dcbac24c423bcaa1ceefcc61a0f7b193e9a48dd4

See more details on using hashes here.

File details

Details for the file pytest_plus-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: pytest_plus-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pytest_plus-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40ccd6655963525e903890789ec4d7a21e8c725d4f25b159854a0f310a703c14
MD5 f95b0bd6330585b8c8273125ed9b8254
BLAKE2b-256 5763e1875d19359264b2ee9022dc96acf42c35d7833353915033505c64f3a3e3

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