Skip to content

Commit

Permalink
Documentation: added instructions on how to get test-coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
VikingScientist committed Feb 21, 2020
1 parent d980dee commit b2487f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ To generate the documentation you will need Sphinx::
And to run the tests you can use your favourite test runner, for example
pytest::

pip install pytest pytest-benchmark
pip install pytest pytest-benchmark pytest-cov


Installing
Expand Down Expand Up @@ -94,6 +94,9 @@ pytest::

PYTHONPATH=. py.test --benchmark-skip

To get a report of test coverage, run::

PYTHONPATH=. py.test --benchmark-skip --cov=splipy --cov-report term-missing

Code analysis
-------------
Expand Down

0 comments on commit b2487f0

Please sign in to comment.