pytest-allure-intersection
Installation
> pip install pytest-allure-intersection
Usage
This pytest plugin modifies the selection behavior of Allure selection options.
If you run:
> pytest --allure-epics=MyGreatEpic --allure-features=MyGreatFeature
By default, this command would select all tests that are decorated either with @allure.epic("MyGreatEpic") or @allure.feature("MyGreatFeature"), i.e. the selection is based on the union of the flags.
After installing the pytest-allure-intersection plugin, tests can be selected based on whether they match both criteria, i.e. a test is selected if its Allure decorators are a superset of the flags requested on the CLI.
You can enable that behavior by passing --allure-selection-by-intersection, otherwise the default behavior will not be affected in any way.
Contributing
pytest-allure-intersection uses Poetry for its development. To run tests, use:
> poetry run tox
Metadata
Release files for pytest-allure-intersection 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest_allure_intersection-1.0.0.tar.gz | 3.1 kB | Without provenance | Details for pytest_allure_intersection-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_allure_intersection-1.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for pytest_allure_intersection-1.0.0-py2.py3-none-any.whl |
Total release size: 6.5 kB
Release files / pytest_allure_intersection-1.0.0.tar.gz
| Download URL | pytest_allure_intersection-1.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08f8713775fe3de46a39e1fec495d97a12be874415c8647297e97237e110539e
|
|
BLAKE2b-256 checksum How to use checksums |
4f985c6bb0622cbb30e0c19f4feefc35d41ccd483ea191a07da41d34be40d795
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0
|
Release files / pytest_allure_intersection-1.0.0-py2.py3-none-any.whl
| Download URL | pytest_allure_intersection-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ff21e831a89373954240b536986f8cbe52ceb646db94cf23dcd664e09350af73
|
|
BLAKE2b-256 checksum How to use checksums |
84e166f074b4c920cd760ffea462e00a82a390e7e8b81c0165de2d234139c568
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0
|
Security for pytest-allure-intersection 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.