[Twisted-Python] How do I get xUnit output from trial for Hudson?
Hi All, How can I get trial to emit output that makes Hudson happy? cheers, Chris
Chris Withers wrote:
How can I get trial to emit output that makes Hudson happy?
Er, shoot me, forgot I'd asked this before. No-one written a junitxml reporter for trial? Any guesses how hard that'd be? cheers, Chris
On Thu, May 6, 2010 at 11:30 AM, Chris Withers <chris@simplistix.co.uk> wrote:
Chris Withers wrote:
How can I get trial to emit output that makes Hudson happy?
Er, shoot me, forgot I'd asked this before.
No-one written a junitxml reporter for trial? Any guesses how hard that'd be?
Not very. "trial --reporter=subunit <foo> | subunit2junitxml" works well for me, although I am running on an OS that supports pipes :) jml
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 Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
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.
participants (3)
-
Andrew Bennetts
-
Chris Withers
-
Jonathan Lange