Interal link to node ID explanation

--HG--
branch : issue499
This commit is contained in:
Andy Freeland 2014-04-14 14:24:13 -04:00
parent 53a8d20d88
commit 1728798e81
1 changed files with 6 additions and 3 deletions

View File

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