testing with coverage.py problem

Piotr Hrebieniuk tereus at lionek.pl
Mon Jul 16 15:01:03 EDT 2007


Hi there.

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?

-- 
Regards
Piotr Hrebieniuk



More information about the Python-list mailing list