[Twisted-Python] How do I get xUnit output from trial for Hudson?

Andrew Bennetts andrew at bemusement.org
Sat May 8 09:41:19 EDT 2010


Chris Withers wrote:
> Jonathan Lange wrote:
> > Not very.
> > 
> > "trial --reporter=subunit <foo> | subunit2junitxml" works well for me,
> > although I am running on an OS that supports pipes :)
> 
> ...and on which subunit compiles ;-)
> 
> *cough*notwindows*cough

Have you tried it?  AFAICS, subunit2junitxml only requires the pure
python parts of subunit (i.e. the subunit Python library, as opposed to
the subunit implementation for some other language).

(It does require <http://pypi.python.org/pypi/junitxml>, and I have no
idea what its requirements are, but I'd guess they're reasonable.)

-Andrew.




More information about the Twisted-Python mailing list