Skip to content

Commit

Permalink
docs/plugins.rst: use --cov with addopts
Browse files Browse the repository at this point in the history
Without `--cov` pytest-cov will not track coverage at all.

[ci skip]
  • Loading branch information
blueyed authored and ionelmc committed Jan 7, 2019
1 parent 234fb20 commit 452ecfd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/plugins.rst
Expand Up @@ -21,5 +21,4 @@ Alternatively you can have this in ``tox.ini`` (if you're using `Tox <https://to
And in ``pytest.ini`` / ``tox.ini`` / ``setup.cfg``::

[tool:pytest]
addopts =
--cov-append
addopts = --cov --cov-append

0 comments on commit 452ecfd

Please sign in to comment.