From c6e3ff3ce5ce7d7759f9750a572fb504e1680724 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 14 May 2019 20:58:41 -0300 Subject: [PATCH] Mention "-m" in the main mark docs --- doc/en/example/markers.rst | 2 ++ doc/en/mark.rst | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/en/example/markers.rst b/doc/en/example/markers.rst index f143e448c..0c3df0497 100644 --- a/doc/en/example/markers.rst +++ b/doc/en/example/markers.rst @@ -6,6 +6,8 @@ Working with custom markers Here are some example using the :ref:`mark` mechanism. +.. _`mark run`: + Marking test functions and selecting them for a run ---------------------------------------------------- diff --git a/doc/en/mark.rst b/doc/en/mark.rst index 27a3c789c..de6ab7822 100644 --- a/doc/en/mark.rst +++ b/doc/en/mark.rst @@ -15,8 +15,10 @@ some builtin markers, for example: to the same test function. It's easy to create custom markers or to apply markers -to whole test classes or modules. See :ref:`mark examples` for examples -which also serve as documentation. +to whole test classes or modules. Those markers can be used by plugins, and also +are commonly used to :ref:`select tests ` on the command-line with the ``-m`` option. + +See :ref:`mark examples` for examples which also serve as documentation. .. note::