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

SourceForge.net noreply at sourceforge.net
Mon Jul 17 20:02:18 CEST 2006


Patches item #1522704, was opened at 2006-07-14 14:02
Message generated for change (Comment added) made by collinwinter
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).


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

Comment By: Collin Winter (collinwinter)
Date: 2006-07-17 14:02

Message:
Logged In: YES 
user_id=1344176

I'd recommend that you release this somewhere like PyPI
(http://cheeseshop.python.org/pypi) and see how well it
does. If it flies off the shelf, then it could be considered
for inclusion in the stdlib.

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

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