PyTest Plus Plugin :: extends pytest functionality
Project description
PyTest Plus Plugin :: extends pytest functionality
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytest-plus-0.2.tar.gz
.
File metadata
- Download URL: pytest-plus-0.2.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb0e11b52c617460bfaae788b82bcfd25efad9472895b240f182a8850757b6c5 |
|
MD5 | 8a03729a682fbdeb74f30a7f7ce0699b |
|
BLAKE2b-256 | 63027edbe18f2c47f54a4df9243217ea46cc246a3807abb00ef32fe654dfdf88 |
File details
Details for the file pytest_plus-0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_plus-0.2-py2.py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f29f73818238e7bb7d4fdbe6d96024c8c75eba964335a49bcf9d56de12d0b9cf |
|
MD5 | c9785f626f6ef4d75a1b98bbfa9d54a1 |
|
BLAKE2b-256 | 6b6cbc2870dbace48ff2de71aded011b3b3c24ee08731f6d4b1f97feacb3b0cf |