From 1728798e8105661e0fa8aa372ec09ad7585264ad Mon Sep 17 00:00:00 2001 From: Andy Freeland Date: Mon, 14 Apr 2014 14:24:13 -0400 Subject: [PATCH] Interal link to node ID explanation --HG-- branch : issue499 --- doc/en/example/markers.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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