I have some pyunit unit tests for a simple command line programme I'm writing. Is it possible for me to generate test coverage numbers? I want to see what lines aren't being covered by my tests.
+4
A:
I regularly use Ned Batchelder's coverage.py tool for exactly this purpose.
Alex Martelli
2009-08-28 15:30:19