From c33865dc58bf1e0c2aaa9a935d1c8594b844dee3 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 25 Nov 2012 10:04:27 -0500 Subject: Coverage.py measuring itself works again! 86%, btw. --- doc/contributing.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc') 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 ------------ -- cgit v1.2.1