[Patches] [ python-Patches-1522704 ] XML Test Runner for unittest module

SourceForge.net noreply at sourceforge.net
Fri Jul 14 20:02:58 CEST 2006


Patches item #1522704, was opened at 2006-07-14 20:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1522704&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Sebastian Rittau (srittau)
Assigned to: Nobody/Anonymous (nobody)
Summary: XML Test Runner for unittest module

Initial Comment:
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).


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1522704&group_id=5470


More information about the Patches mailing list