code coverage tool
Peter Hansen
peter at engcorp.com
Thu Feb 27 07:36:54 EST 2003
phil hunt wrote:
>
> On Thu, 20 Feb 2003 07:35:06 -0500, Peter Hansen <peter at engcorp.com> wrote:
> >phil hunt wrote:
> >>
> >> Is there an open-source code coverage tool for Python? I have a
> >> program for which I have written sevewral unit tests, and I want to
> >> see if any of the lines in my program aren't being exercised by the
> >> tests.
> >
> >Google is your friend. Try "python coverage" or sprinkle lightly
> >with "test" or "code" or such...
>
> I tried Google; I didn't come up with anything useful.
I looked _past_ the first entry and came up with this pretty
easily. It's "useful":
http://manatee.mojam.com/~skip/python/trace.py
(That was in the fourth main item down with "python code coverage".)
-Peter
More information about the Python-list
mailing list