Skip to content

Commit c6e3ff3

Browse files
committed
Mention "-m" in the main mark docs
1 parent a31098a commit c6e3ff3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

doc/en/example/markers.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Working with custom markers
66

77
Here are some example using the :ref:`mark` mechanism.
88

9+
.. _`mark run`:
10+
911
Marking test functions and selecting them for a run
1012
----------------------------------------------------
1113

doc/en/mark.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ some builtin markers, for example:
1515
to the same test function.
1616

1717
It's easy to create custom markers or to apply markers
18-
to whole test classes or modules. See :ref:`mark examples` for examples
19-
which also serve as documentation.
18+
to whole test classes or modules. Those markers can be used by plugins, and also
19+
are commonly used to :ref:`select tests <mark run>` on the command-line with the ``-m`` option.
20+
21+
See :ref:`mark examples` for examples which also serve as documentation.
2022

2123
.. note::
2224

0 commit comments

Comments
 (0)