Mention "-m" in the main mark docs
This commit is contained in:
parent
a31098a74e
commit
c6e3ff3ce5
|
@ -6,6 +6,8 @@ Working with custom markers
|
||||||
|
|
||||||
Here are some example using the :ref:`mark` mechanism.
|
Here are some example using the :ref:`mark` mechanism.
|
||||||
|
|
||||||
|
.. _`mark run`:
|
||||||
|
|
||||||
Marking test functions and selecting them for a run
|
Marking test functions and selecting them for a run
|
||||||
----------------------------------------------------
|
----------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,10 @@ some builtin markers, for example:
|
||||||
to the same test function.
|
to the same test function.
|
||||||
|
|
||||||
It's easy to create custom markers or to apply markers
|
It's easy to create custom markers or to apply markers
|
||||||
to whole test classes or modules. See :ref:`mark examples` for examples
|
to whole test classes or modules. Those markers can be used by plugins, and also
|
||||||
which also serve as documentation.
|
are commonly used to :ref:`select tests <mark run>` on the command-line with the ``-m`` option.
|
||||||
|
|
||||||
|
See :ref:`mark examples` for examples which also serve as documentation.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue