summaryrefslogtreecommitdiff
path: root/doc/contributing.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-25 10:04:27 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-25 10:04:27 -0500
commitc33865dc58bf1e0c2aaa9a935d1c8594b844dee3 (patch)
treeed7d711959dc8a0335a5658dc255b1e318f75a1f /doc/contributing.rst
parent7452783c11ca015c3626c31f965d6a5332cb259e (diff)
downloadpython-coveragepy-git-c33865dc58bf1e0c2aaa9a935d1c8594b844dee3.tar.gz
Coverage.py measuring itself works again! 86%, btw.
Diffstat (limited to 'doc/contributing.rst')
-rw-r--r--doc/contributing.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/contributing.rst b/doc/contributing.rst
index 23eb1adb..90b9ba1b 100644
--- a/doc/contributing.rst
+++ b/doc/contributing.rst
@@ -138,6 +138,20 @@ some warnings. Please try to keep it that way, but don't let pylint warnings
keep you from sending patches. I can clean them up.
+Coverage testing coverage.py
+----------------------------
+
+Coverage.py can measure itself, but it's complicated. The process has been
+packaged up to make it easier::
+
+ $ COVERAGE_COVERAGE=yes tox
+ $ python igor.py combine_html
+
+Then look at htmlcov/index.html. Note that due to the recursive nature of
+coverage.py measuring itself, there are some parts of the code that will never
+appear as covered, even though they are executed.
+
+
Contributing
------------