Merge pull request #987 from benauthor/master

Document single-method usage
This commit is contained in:
Bruno Oliveira 2015-09-04 17:24:15 -03:00
commit e622975ffd
1 changed files with 5 additions and 3 deletions

View File

@ -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::