From 54f98378042455f1c21848b19d68e65dd07f0ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Thu, 13 Aug 2015 19:02:51 -0300 Subject: [PATCH] Document how to get coverage report --- docs/contributing.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/contributing.rst b/docs/contributing.rst index ad9a3805a..be34bf98c 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -154,6 +154,13 @@ To run a specific test (say ``tests/test_loader.py``) use: ``tox -- tests/test_loader.py`` +To see coverage report install `coverage`_ (``pip install coverage``) and run: + + ``coverage report`` + +see output of ``coverage --help`` for more options like html or xml report. + +.. _coverage: https://pypi.python.org/pypi/coverage Writing tests -------------