NUnitTeamCity w/ Output

I'm using an MSBuild script to run the NUnitTeamCity task.  Is there a way to specify to output the NUnit results xml file?

Thanks!
Dave

2 comments
Comment actions Permalink

Well, I want to output NUnitReport to XML, like this

    <NUnitTeamCity                           Assemblies="@(TestAssembly->'%(FullPath)')"
                                             NUnitVersion="NUnit-$(NUnitVersion)"
                                             OutputXMLFile="@(TestAssembly->'%(rootdir)%(directory)%(filename).report.xml')" # <-- This is what I need
                                             RuntimeVersion="v4.0"
                                             HaltIfTestFailed="True"
                                             Condition=" '@(TestAssembly)'!='' and '$(TEAMCITY_VERSION)' != '' "/>


And then convert it to HTML and attach as a project report, like this

.
    <XslTransformation XmlInputPaths="@(TestAssembly->'%(rootdir)%(directory)%(filename).report.xml')"
                       OutputPaths="@(TestAssembly->'%(rootdir)%(directory)%(filename).report.html')"
                       XslInputPath="$(MSBuildThisFileDirectory)\NUnit2Report\NunitResults2.xslt" />


How can I achieve this with TC 8.1.2

Thank you
0

Please sign in to leave a comment.