Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Document how to get coverage report

Daniel Graña54f983780424
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
-------------