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

Duncan Findlay duncan at duncf.ca
Tue Jul 19 21:11:03 PDT 2011

Hi all,

I've got a bunch of unit tests written with unittest2 (Python 2.4 and 2.6) and I want to set up Jenkins to display unit tests status. I'm looking for something "production-ready" (for some definition thereof) that will allow me to discover and run unit tests with XML output.

I have been using the unittest2 plugins branch, but that's not "production ready" (I had to patch it to get it to run). It seems like many of the other common solutions (e.g. nose) don't like it when test cases are subclasses of unittest2.TestCase instead of unittest.TestCase.

I'm sure I'm not the only one trying to do something like this. What's everyone else doing?


More information about the testing-in-python mailing list