diff --git a/doc/en/example/markers.txt b/doc/en/example/markers.txt index 9a9ef621a..8b7aa067b 100644 --- a/doc/en/example/markers.txt +++ b/doc/en/example/markers.txt @@ -56,9 +56,9 @@ Or the inverse, running all tests except the webtest ones:: Selecing tests based on their node ID ------------------------------------- -You can provide one or more node IDs as positional arguments to select -only specified tests. This makes it easy to select tests based on -their module, class, method, or function name:: +You can provide one or more :ref:`node IDs ` as positional +arguments to select only specified tests. This makes it easy to select +tests based on their module, class, method, or function name:: $ py.test -v test_server.py::TestClass::test_method =========================== test session starts ============================ @@ -92,6 +92,9 @@ Or select multiple nodes:: ========================= 2 passed in 0.01 seconds ========================= + +.. _node-id: + .. note:: Node IDs are of the form ``module.py::class::method`` or