File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ For full details refer to the `coverage config file`_ documentation.
23
23
24
24
.. note :: Important Note
25
25
26
- This plugin overrides the ``data_file `` and ``parallel `` options of coverage. Unless you also run coverage without
26
+ This plugin overrides the ``data_file `` and ``parallel `` options of coverage. Unless you also run coverage without
27
27
pytest-cov it's pointless to set those options in your ``.coveragerc ``.
28
-
29
- If you use the ``--cov=something `` option (with a value) then coverage's ``source `` option will also get overriden.
30
- If you have multiple sources it might be easier to set those in ``.coveragerc `` and always use ``--cov `` (wihout a value)
28
+
29
+ If you use the ``--cov=something `` option (with a value) then coverage's ``source `` option will also get overriden.
30
+ If you have multiple sources it might be easier to set those in ``.coveragerc `` and always use ``--cov `` (wihout a value)
31
31
instead of having a long command line with ``--cov=pkg1 --cov=pkg2 --cov=pkg3 ... ``.
32
-
32
+
33
33
If you use the ``--cov-branch `` option then coverage's ``branch `` option will also get overriden.
34
34
35
35
If you wish to always add pytest-cov with pytest, you can use ``addopts `` under ``pytest `` or ``tool:pytest `` section.
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ id, and each set of parameter values is recorded as a separate test.
22
22
To view contexts when using ``--cov-report=html ``, add this to your ``.coveragerc ``::
23
23
24
24
[html]
25
- show_contexts = True
26
-
25
+ show_contexts = True
26
+
27
27
The HTML report will include an annotation on each covered line, indicating the
28
- number of contexts that executed the line. Clicking the annotation displays a
28
+ number of contexts that executed the line. Clicking the annotation displays a
29
29
list of the contexts.
You can’t perform that action at this time.
0 commit comments