No project description provided
> pip install pytest-allure-intersection
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.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.
pytest-allure-intersection uses Poetry for its development. To run tests, use:
> poetry run tox
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for pytest_allure_intersection-1.0.0.tar.gz
Hashes for pytest_allure_intersection-1.0.0-py2.py3-none-any.whl