I've specified XML directory in Job's Miscellaneous tab NCover section and the files are picked up correctly, but results displayed in NCover tab of Build Project Result are empty (Line Rate%). I've tried different report samples besides my generated one (books, ReportGenerator tests etc.). However, it seems that none is parsed correctly. Also, documentation for NCover 3 is obsolete and considered a legacy solution, but versions 4 and 5 generate HTML versions of the report and not XML. You can find one sample file here, another sample pasted below. I'll appreciate if somebody can point out why it happens for attached files and maybe provide a working sample. Bamboo version 6.8.1 build 60805 - 13 Mar 19.
<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="coverage.xs1" type="text/xs1"?> <!-- saved from ur1=(0022)http://www.ncover.org/ --> <coverage> <module name="C:\Dev\NCover\Main\Samples\SimpleParam\adder.exe" assembly="Adder"> <method name="Main" class="Main.Program"> <seqpnt visitcount="1" line="10" column="13" endline="10" endcolumn="61" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> <seqpnt visitcount="1" line="11" column="13" endline="11" endcolumn="25" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> <seqpnt visitcount="1" line="11" column="25" endline="11" endcolumn="33" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> <seqpnt visitcount="1" line="12" column="25" endline="12" endcolumn="30" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> <seqpnt visitcount="1" line="16707566" column="0" endline="16707566" endcolumn="0" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> <!-- Some lines removed for brevity --> <seqpnt visitcount="1" line="28" column="3" endline="28" endcolumn="4" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> </method> </module> </coverage>
I see you've filed a support case in our portal as well.
As our support team shared with you, this problem is caused by a bug: [BAM-17507] DotNet Plugin: tab with NCover results not working.
We will need to wait for our team to fix this one so you can move forward using NCover integration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.