nose-devs/nose — Issue #402: Allow user-specified prefix for all test names in XML report
Author: jpellerin
Created: 2011-12-14 16:09:59+00:00
State: open

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=9c9026ef31cf7247391fff1650770cb93209a53f

Google Code Info:
Issue #: 390
Author: jsiir...@gmail.com
Created On: 2011-01-07T21:57:22.000Z
Closed On: