Skip to content

Commit

Permalink
Fix custom label doc: "allure-labels" -> "allure-label" (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
inqvan authored Jul 4, 2023
1 parent 8e7b2ae commit 7b5f698
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 7b5f698

Please sign in to comment.