@@ -10,31 +10,32 @@ Configuration file options
10
10
11
11
Configuration file options can be set in the `ini file `.
12
12
13
- minversion
14
- This is a builtin configuration option of pytest itself. Since
15
- pytest-dependency requires pytest 2.8.0 or newer, it is
16
- 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 `.
13
+ minversion
14
+ This is a builtin configuration option of pytest itself. Since
15
+ pytest-dependency requires pytest 2.8.0 or newer, it is recommended
16
+ to set this option accordingly, either to 2.8.0 or to a newer
17
+ version, if required by your test code.
18
+
19
+ automark_dependency
20
+ This is a flag. If set to `False `, the default, the outcome of a
21
+ test will only be registered if the test has been decorated with
22
+ the :func: `pytest.mark.dependency ` marker. As a results, all
23
+ tests, the dependencies and the dependent tests must be decorated.
24
+ If set to `True `, the outcome of all tests will be registered. It
25
+ has the same effect as if all tests are implicitly decorated with
26
+ :func: `pytest.mark.dependency `.
26
27
27
28
Command line options
28
29
--------------------
29
30
30
31
The following command line options are added by pytest.dependency:
31
32
32
- `--ignore-unknown-dependency `
33
- By default, a test will be skipped unless all the dependencies
34
- have been run successful. If this option is set, a test will be
35
- skipped if any of the dependencies has been skipped or failed.
36
- E.g. dependencies that have not been run at all will be ignored.
33
+ `--ignore-unknown-dependency `
34
+ By default, a test will be skipped unless all the dependencies have
35
+ been run successful. If this option is set, a test will be skipped
36
+ if any of the dependencies has been skipped or failed.
37
+ E.g. dependencies that have not been run at all will be ignored.
37
38
38
- This may be useful if you run only a subset of the testsuite and
39
- some tests in the selected set are marked to depend on other
40
- tests that have not been selected.
39
+ This may be useful if you run only a subset of the testsuite and
40
+ some tests in the selected set are marked to depend on other tests
41
+ that have not been selected.
0 commit comments