Mention omission of fixtures with leading '_', closes #3398

This commit is contained in:
Holger Kohr
2018-04-14 10:56:13 +02:00
parent 36f6687b70
commit 6626d2aef9
7 changed files with 12 additions and 7 deletions

View File

@@ -75,7 +75,8 @@ def pytest_addoption(parser):
group = parser.getgroup("general")
group.addoption('--fixtures', '--funcargs',
action="store_true", dest="showfixtures", default=False,
help="show available fixtures, sorted by plugin appearance")
help="show available fixtures, sorted by plugin appearance "
"(fixtures with leading '_' are only shown with '-v')")
group.addoption(
'--fixtures-per-test',
action="store_true",