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@zope.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 )

Reply via email to