Clarify `markers` ini property role Fix #11738
This commit is contained in:
parent
52db918a27
commit
0299a31e5a
|
@ -2086,7 +2086,7 @@ All the command-line flags can be obtained by running ``pytest --help``::
|
||||||
|
|
||||||
[pytest] ini-options in the first pytest.ini|tox.ini|setup.cfg|pyproject.toml file found:
|
[pytest] ini-options in the first pytest.ini|tox.ini|setup.cfg|pyproject.toml file found:
|
||||||
|
|
||||||
markers (linelist): Markers for test functions
|
markers (linelist): Register new markers for test functions
|
||||||
empty_parameter_set_mark (string):
|
empty_parameter_set_mark (string):
|
||||||
Default marker for empty parametersets
|
Default marker for empty parametersets
|
||||||
norecursedirs (args): Directory patterns to avoid for recursion
|
norecursedirs (args): Directory patterns to avoid for recursion
|
||||||
|
|
|
@ -105,7 +105,7 @@ def pytest_addoption(parser: Parser) -> None:
|
||||||
help="show markers (builtin, plugin and per-project ones).",
|
help="show markers (builtin, plugin and per-project ones).",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.addini("markers", "Markers for test functions", "linelist")
|
parser.addini("markers", "Register new markers for test functions", "linelist")
|
||||||
parser.addini(EMPTY_PARAMETERSET_OPTION, "Default marker for empty parametersets")
|
parser.addini(EMPTY_PARAMETERSET_OPTION, "Default marker for empty parametersets")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue