Am 28.02.2010 22:07 schrieb Luke Macken:
So I took the coverage recipe from Ben Bangert's hudson setup. We're currently doing this for the TG-1.5 job (among other things):easy_install pip coverage nose ToscaWidgets tw.forms pip -q install git+git://github.com/cmheisel/nose-xcover.git <http://github.com/cmheisel/nose-xcover.git> nosetests --with-coverage --cover-erase --cover-package=turbogears --with-xunit --with-xcoverage
Your setup looks ok to me. The problem is somewhere else: I was now able to reproduce the 0% coverage problem, both on Win and Linux. I'm pretty sure it has something to do with the fact that TG 1.5 uses peak.rules which seems to confuse coverage. It only worked for me (except for the mentioned two failing tests) because I had a 32bit coverage version installed on a 64bit system and for some mysterious reason this seemed to cause coverage to work even with peak.rules.
We need to examine this a bit closer. -- Christoph -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

