Skip to content

Commit 0192336

Browse files
committed
Document the automark_dependency configuration option.
1 parent bd6a84f commit 0192336

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/src/configuration.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,12 @@ Configuration file options can be set in the `ini file`.
1414
This is a builtin configuration of pytest itself. Since
1515
pytest-dependency requires pytest 2.8.0 or newer, it is
1616
recommended to set this option accordingly.
17+
18+
automark_dependency
19+
This is a flag. If set to `False`, the default, the outcome of
20+
a test will only be registered if the test has been decorated
21+
with the :func:`pytest.mark.dependency` marker. As a results,
22+
all tests, the dependencies and the dependent tests must be
23+
decorated. If set to `True`, the outcome of all tests will be
24+
registered. It has the same effect as if all tests are
25+
implicitly decorated with :func:`pytest.mark.dependency`.

0 commit comments

Comments
 (0)