Coverage Analysis
Skip Montanaro
skip at mojam.com
Tue Feb 8 16:27:46 EST 2000
David> Is there any way to do coverage analysis in Python?
...
David> What would be cool is a debug mode that would have an integer
David> associated with every line of every file executed. All counts
David> are initialized to zero. As a line is executed the count is
David> bumped up by one. At some point you can dump a module's couts to
David> a file or as a tuple of integers.
Sure. Search for "coverage" at
http://www.musi-cal.com/~skip/python/
I have in my inbox a patch I've yet to look at from a fellow that improves
the display of continuation lines. I haven't had a chance to look at it
yet. If anyone's interested, let me know.
Skip Montanaro | http://www.mojam.com/
skip at mojam.com | http://www.musi-cal.com/
"Languages that change by catering to the tastes of non-users tend not to do
so well." - Doug Landauer
More information about the Python-list
mailing list