Skip to main content

PyTest Plus Plugin :: extends pytest functionality

Project description

PyTest Plus Plugin :: extends pytest functionality

PyPI version Python versions Python Black Code Style

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

  • Keep py27 compatibility for the moment
  • 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytest-plus, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size pytest_plus-0.2-py2.py3-none-any.whl (4.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pytest-plus-0.2.tar.gz (8.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page