PDA

View Full Version : NUnit XML transform does not work


koderiter
03-09-2009, 10:54 AM
I have a NUnit test action that outputs and XML file: TestResults.xml

I have the the XML transform file: summary.xmlt that I got from the NUnit folder. I can not get the XML transformation on the file to work.

Is there a bug with the NUnit Action? or am i just doing something wrong? (I would suspect what i'm doing)

Has anybody got this to work and if so how do I? I would like the xml file to get transformed to something that is more readable than the raw xml.

Thanks

kinook
03-09-2009, 11:32 AM
If a filename is specified in the 'XML transform file' field on the Output tab of the NUnit action, that value is passed in the nunit-console /transform command-line parameter. If that is not working as expected, you would need to contact the NUnit authors to troubleshoot the problem (you can check the 'Log command-line' field on the Advanced tab and rebuild the step to determine the command-line being used).
http://www.nunit.org/index.php?p=consoleCommandLine&r=2.4.8