[EMAIL PROTECTED] (Roy Smith) writes: (...) > We've got code coveage tools. This is a testing tool. You keep > running tests and it keeps track of which lines of code are executed > (i.e. which logic branches are taken). One theory of testing says you > should keep writing test cases until you've exercised every branch. I > don't see any reason such a tool wouldn't be useful in a big Python > project, but I'm not aware of any.
The coverage.py module (http://www.garethrees.org/2001/12/04/python-coverage) has worked pretty well for us. Just run your unit test suite under its control. There's also http://www.softwareverify.com/pythonCoverageValidator which is commercial. -- David -- http://mail.python.org/mailman/listinfo/python-list