[TIP] unittest2 xml output / integration with Jenkins/Hudson

Michael Foord michael at voidspace.org.uk
Wed Jul 20 15:09:41 PDT 2011

On 20/07/2011 19:54, Robert Collins wrote:
> On Thu, Jul 21, 2011 at 5:33 AM, Michael Foord<michael at voidspace.org.uk>  wrote:
>>> I wrote http://pypi.python.org/pypi/junitxml specifically for this use
>>> case. Its used by (amongst others) the drizzle project for hudson
>>> integration.
>> We're using junitxml at work and I can heartily plus one it. Although I
>> wouldn't guarantee that it supports the unittest2 test skipping / expected
>> failures - however that isn't necessarily a problem as unittest2 can cope
>> with this (they become passes).
> Let me know if it doesn't - https://bugs.launchpad.net/pyjunitxml.

Hah. Just had a browse of the code. It should work fine with unittest2. 
I should have known better. :-)

All the best,


> Cheers,
> Rob


May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html

More information about the testing-in-python mailing list