Skip to main content

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

Download files

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

Source Distribution

pytest_allure_intersection-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_allure_intersection-1.0.0-py2.py3-none-any.whl (3.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pytest_allure_intersection-1.0.0.tar.gz.

File metadata

  • Download URL: pytest_allure_intersection-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0

File hashes

Hashes for pytest_allure_intersection-1.0.0.tar.gz
Algorithm Hash digest
SHA256 08f8713775fe3de46a39e1fec495d97a12be874415c8647297e97237e110539e
MD5 1f1ef48fbcd237fa198ecb9510df2c33
BLAKE2b-256 4f985c6bb0622cbb30e0c19f4feefc35d41ccd483ea191a07da41d34be40d795

See more details on using hashes here.

File details

Details for the file pytest_allure_intersection-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_allure_intersection-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ff21e831a89373954240b536986f8cbe52ceb646db94cf23dcd664e09350af73
MD5 fbcd09d9239f47c036b18622e315dd9c
BLAKE2b-256 84e166f074b4c920cd760ffea462e00a82a390e7e8b81c0165de2d234139c568

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page