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ć



_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to