[Pytest-commit] Issue #499: Selecting a test by its node id not documented (hpk42/pytest)
Jurko Gospodnetić
issues-reply at bitbucket.org
Fri Apr 4 07:52:41 CEST 2014
New issue 499: Selecting a test by its node id not documented
https://bitbucket.org/hpk42/pytest/issue/499/selecting-a-test-by-its-node-id-not
Jurko Gospodnetić:
Selecting a test by its ``node id`` is not documented anywhere.
This issue has been extracted out of issue #387 because the original issue got marked as resolved. The following is a copy/paste of a [related message in the original issue](../issue/387#comment-9444052):
```
In this specific case one can already select just a single test by
using the node ID. Assuming these live in the test_foo file:
py.test -v test_foo::TestAlice::test_foo
or
py.test -v test_foo::TestAlice
work fine.
And to find out the node IDs one can use --collectonly.
```
Hope this helps.
Best regards,
Jurko Gospodnetić
More information about the pytest-commit
mailing list