Author srittau
Recipients
Date 2006-07-14.18:02:57
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
JUnit features an XML Test Runner that enables test
output in XML format. This is very useful for buildbots
and similar automated setups. PyUnit (the unittest
module) lacks this capability. The attached file
implements such an XML Test Runner and the matching
unit tests. I did not try to generate a patch to the
current SVN version and leave that to more capable
hand. I think the current unittest module should
probably changed into a unittest package like this:

unittest/__init__.py - the current unittest.py file
unittest/xmlrunner.py - the new XML runner

Later __init__.py could be split into even more files
like textrunner.py etc.

I would like to hear about any improvements that the
patch needs (even minor ones).
History
Date User Action Args
2007-08-23 15:53:34adminlinkissue1522704 messages
2007-08-23 15:53:34admincreate