I have a situation where a project contains several independent sub-packages,
each with their own test suites. To test the entire project, we run nosetests
on each package separately from the package's top directory. The resulting
Xunit xml files are merged together and displayed within Hudson.
Unfortunately, since this is being done within each project's directory, the
individual test class names don't include the package name, so the results get
mangled and merged within Hudson. A simple solution is to have the Xunit
plugin support a "--xunit-prefix" option that gets prepended to the classname
in the XML report.
The following changeset implements this option (and the unit tests for it):
https://code.google.com/r/jsiirola-python-nose-clone/source/detail?r=9c9026ef31c
f7247391fff1650770cb93209a53f
Original issue reported on code.google.com by jsiir...@gmail.com on 7 Jan 2011 at 9:57
Original issue reported on code.google.com by
jsiir...@gmail.com
on 7 Jan 2011 at 9:57