Skip to content

Commit 54f9837

Browse files
committed
Document how to get coverage report
1 parent cb9577a commit 54f9837

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/contributing.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,13 @@ To run a specific test (say ``tests/test_loader.py``) use:
154154

155155
``tox -- tests/test_loader.py``
156156

157+
To see coverage report install `coverage`_ (``pip install coverage``) and run:
158+
159+
``coverage report``
160+
161+
see output of ``coverage --help`` for more options like html or xml report.
162+
163+
.. _coverage: https://pypi.python.org/pypi/coverage
157164

158165
Writing tests
159166
-------------

0 commit comments

Comments
 (0)