[Python-Dev] regrtest.py mods for code coverage

Walter Dörwald walter at livinglogic.de
Fri Jan 2 07:31:43 EST 2004

Barry A. Warsaw wrote:

> Hi all,
> I wanted to improve the code coverage for base64.py (see previous
> message, re: RFC 3548 support) in the test_base64.py unit test.  So I
> did a fairly simpleminded adaptation of Zope3's test.py -T code
> coverage flag to regrtest.py.  Very handy for upping coverage of a
> module's code!
> The patch is available here:
> http://sourceforge.net/tracker/index.php?func=detail&aid=868499&group_id=5470&atid=305470
> Currently assigned to Jeremy for review.  Please let me know what you
> think.

Somewhat related: It would be useful if configure had an option
--enable-coverage that adds the appropriate compiler options.

Currently I'm patching the Makefile by hand (or rather script)
for the stuff on http://coverage.livinglogic.de/

    Walter Dörwald

More information about the Python-Dev mailing list