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
Please refer to http://confluence.jetbrains.net/display/TCD5/XML+Reports+Import.
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