On Sun, Feb 28, 2010 at 10:58 AM, Christoph Zwerschke <[email protected]>wrote:
> Am 28.02.2010 04:36 schrieb Luke Macken: > > I also went ahead and added coverage & unit test reports to the TG1.5 >> jobs. >> > > Luckily Chuck hasn't yet noticed that something is foul with the coverage > reports. Most of the files are shown with 0% coverage. > turbogears.widgets.base should actually be at 85% and > turbogears.widgets.forms should be at 92%. At least that's what is shown on > my developer machine. > > Maybe you need to install nose and coverage in opposite order? > > Also, due to a bug in coverage, the tests should actually fail if you run > them with coverage: > http://bitbucket.org/ned/coveragepy/issue/51/turbogears-15-test-failing-with-coverage > > You should also easy_install tw.forms along with ToscaWidgets, because it's > needed by some of the tests. Interesting... 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 nosetests --with-coverage --cover-erase --cover-package=turbogears --with-xunit --with-xcoverage Anyway, if you sign up for an account, I'd be happy to give you admin privs so you can help me whip some of these into shape. Cheers, luke -- 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.

