[TIP] new (python 2.6) fn: gettrace

Titus Brown titus at caltech.edu
Wed Jan 23 20:07:13 PST 2008


On Wed, Jan 23, 2008 at 09:03:49PM -0700, m h wrote:
-> On Jan 23, 2008 8:55 PM, Titus Brown <titus at caltech.edu> wrote:
-> > On Wed, Jan 23, 2008 at 03:34:16PM -0700, m h wrote:
-> > ->
-> > -> If you want to do path coverage you need to be able to mark every path
-> > -> through the code.
-> > -> The current method of line coverage doesn't allow one to trace short
-> > -> circuiting in boolean operations.
-> >
-> > OK, that's what I thought you meant -- but (to be pedantic) describing
-> > a feature request as a "bug" is a bit confusing ;).
-> 
-> No problem.  Hope I didn't come off as discounting the work done by
-> the current coverage tools at all.  I'm grateful for what we currently
-> have.

Hah!  That's only 'cause you don't know how much better they could be!

;)

--titus



More information about the testing-in-python mailing list