I will also consider the use of networks, you can write your tests in the unittest style, if you want, or in a more modular way. In order to get coverage through the net, all you have to do is use the --with-coverage modifier on the command line. Also, if you just want to get good coverage of your code when it is executed, I would use the actual coverage module http://nedbatchelder.com/code/coverage/ , which you can import into your project and use it programmatically. Hope this helps.
source share