Interal link to node ID explanation
--HG-- branch : issue499
This commit is contained in:
parent
53a8d20d88
commit
1728798e81
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue