Re: [Zope-dev] Writing output logs from zope.testing.testrunner
by Martin Aspeli other posts by this author
Nov 7 2009 8:46AM messages near this date
[Zope-dev] Writing output logs from zope.testing.testrunner
|
Re: [Zope-dev] Writing output logs from zope.testing.testrunner
Martin Aspeli wrote:
> Hi,
>
> I'm trying to turn the results of a test run using zope.testing
> (zc.recipe.testrunner) into a JUnit compliant XML format so that I can
> graph it with Hudson (a continuous integration tool).
>
> Are there any hooks in zope.testing to write reporting to a file?
I couldn't find any, so I created a new test runner which basically
wraps the output formatter to capture key events.
http://pypi.python.org/pypi/collective.xmltestreport
I was able to use this successfully with Hudson:
http://www.martinaspeli.net/articles/using-hudson-ci-for-plone-projects
(this is not Plone specific and would work for anyone using zope.testing)
Martin
--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book
_______________________________________________
Zope-Dev maillist - Zope-Dev@[...].org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )
Thread:
Martin Aspeli
Martin Aspeli
Chris Withers
|