Message50700
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).
|
|
| Date |
User |
Action |
Args |
| 2007-08-23 15:53:34 | admin | link | issue1522704 messages |
| 2007-08-23 15:53:34 | admin | create | |
|