code coverage tool

Skip Montanaro skip at pobox.com
Thu Feb 27 09:40:37 EST 2003


    >>> Is there an open-source code coverage tool for Python? 

    >> Google is your friend.  Try "python coverage" or sprinkle lightly
    >> with "test" or "code" or such...

    phil> I tried Google; I didn't come up with anything useful.

Look in the Tools/scripts/ directory of the distribution.  The trace.py
script will do line coverage (though not branch coverage).

Skip





More information about the Python-list mailing list