Merge pull request #4944 from henrykironde/k-EXPRESSION
Add example for k flag
This commit is contained in:
commit
b3319a6074
|
@ -52,6 +52,7 @@ def pytest_addoption(parser):
|
||||||
"other' matches all test functions and classes whose name "
|
"other' matches all test functions and classes whose name "
|
||||||
"contains 'test_method' or 'test_other', while -k 'not test_method' "
|
"contains 'test_method' or 'test_other', while -k 'not test_method' "
|
||||||
"matches those that don't contain 'test_method' in their names. "
|
"matches those that don't contain 'test_method' in their names. "
|
||||||
|
"-k 'not test_method and not test_other' will eliminate the matches. "
|
||||||
"Additionally keywords are matched to classes and functions "
|
"Additionally keywords are matched to classes and functions "
|
||||||
"containing extra names in their 'extra_keyword_matches' set, "
|
"containing extra names in their 'extra_keyword_matches' set, "
|
||||||
"as well as functions which have names assigned directly to them.",
|
"as well as functions which have names assigned directly to them.",
|
||||||
|
|
Loading…
Reference in New Issue