Hello,
I try to write test together with coverage [1]. This tool could tell me, 
which lines of code was or wasn't executed and therefore tell, how my 
tests are (or aren't) "superior".

I put initial code for coverage into setUp, and cleanup to tearDown 
method of Testcase class. Problem is, that setUp and tearDown method are 
called before/after each particular test in TestCase.

I need to find technique, which enable me initiate coverage before any 
test begin, and cleanup after *all* test was executed. Do you have some 
advice please?

Thank you

Regards, Michal

[1] http://www.nedbatchelder.com/code/modules/coverage.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to