[Python-checkins] devguide: Tweak coverage report command.

brett.cannon python-checkins at python.org
Thu Nov 15 15:22:48 CET 2012


http://hg.python.org/devguide/rev/5e3214e7b92b
changeset: 565:5e3214e7b92b
user: Brett Cannon <brett at python.org>
date: Wed Nov 14 23:22:53 2012 -0500
summary:
 Tweak coverage report command.
files:
 coverage.rst | 3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/coverage.rst b/coverage.rst
--- a/coverage.rst
+++ b/coverage.rst
@@ -133,7 +133,7 @@
 But one of the strengths of coverage.py is its HTML-based reports which let
 you visually see what lines of code were not tested::
 
- ./python COVERAGDIR html -i --include="Lib/*" --omit="*/test/*,*/tests/*,Tools/*"
+ ./python COVERAGDIR html -i --include=`pwd`/Lib/* --omit="Lib/test/*,Lib/*/tests/*"
 
 This will generate an HTML report in a directory named ``htmlcov`` which
 ignores any errors that may arise and ignores modules for which test coverage is
@@ -190,6 +190,7 @@
 This will give you the most complete coverage possible for CPython's standard
 library.
 
+
 .. _coverage.py: http://nedbatchelder.com/code/coverage/
 
 
-- 
Repository URL: http://hg.python.org/devguide


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /