Merge pull request #987 from benauthor/master
Document single-method usage
This commit is contained in:
commit
e622975ffd
|
@ -52,6 +52,8 @@ Several test run options::
|
||||||
py.test test_mod.py::test_func # only run tests that match the "node ID",
|
py.test test_mod.py::test_func # only run tests that match the "node ID",
|
||||||
# e.g "test_mod.py::test_func" will select
|
# e.g "test_mod.py::test_func" will select
|
||||||
# only test_func in test_mod.py
|
# only test_func in test_mod.py
|
||||||
|
py.test test_mod.py::TestClass::test_method # run a single method in
|
||||||
|
# a single class
|
||||||
|
|
||||||
Import 'pkg' and use its filesystem location to find and run tests::
|
Import 'pkg' and use its filesystem location to find and run tests::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue