Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix custom label doc: "allure-labels" -> "allure-label" #748

Merged
merged 1 commit into from
Jul 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions allure-pytest/examples/label/custom/select_tests_by_label.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Select test by label
-----------------------------

By using ``--allure-labels`` commandline option with a ``lablel_name=label1,label2`` format, only tests with
By using ``--allure-label`` commandline option with a ``lablel_name=label1,label2`` format, only tests with
corresponding labels will be run.


For example, if you want to run tests with label 'Application' equals to 'desktop' or 'mobile' only,
run pytest with ``--allure-labels Application=desktop,mobile`` option.
run pytest with ``--allure-label Application=desktop,mobile`` option.

To filter tests with several different labels multiple ``--allure-labels`` options can be specified:
To filter tests with several different labels multiple ``--allure-label`` options can be specified:

``--allure-labels Application=desktop,mobile --allure-labels layer=api``
``--allure-label Application=desktop,mobile --allure-label layer=api``

>>> import allure

Expand Down