diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-25 10:04:27 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-25 10:04:27 -0500 |
| commit | 34fdddd0dae03ab57289dfe5807158e672f7f9ef (patch) | |
| tree | 0d5b1b6cb8dfe080d8af263fba65965f2cd1911d /doc | |
| parent | 50af5d2b792b4570cf0030424d4a103b731b9845 (diff) | |
| download | python-coveragepy-34fdddd0dae03ab57289dfe5807158e672f7f9ef.tar.gz | |
Coverage.py measuring itself works again! 86%, btw.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/contributing.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/contributing.rst b/doc/contributing.rst index 23eb1ad..90b9ba1 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 ------------ |
