> On Behalf Of Piotr Hrebieniuk > I've spent few hours and found nothing, so here's my question: > How can i run tests wrote by myself on a module, using coverage.py ? > Let's assume i have a module mymod.py which i want to test > with tests from file mytest.py (i.e. class inherited from > unittest.TestCase). How to do that with coverage.py? Where i > should put the code that runs the tests?
The easiest way is probably by using nose http://somethingaboutorange.com/mrl/projects/nose/ In particular, check out the "--with-coverage" flag. Regards, Ryan Ginstrom -- http://mail.python.org/mailman/listinfo/python-list