ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-dev
zope-dev
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved