I'm using the following code to generate xml report using
NCoverExplorer off of coverage.xml (which is generated from NCover).
But I'm noticing that the xml report generated (CoverageSummary.xml)
is a 0 byte file. In ccnet.config 'merge' block, I'm putting the path
to the the merged xml CoverageMerge.xml. Don't know if its supposed
to be used this way. its not showing anything. I'm using
NCoverExplorer.xsl and NCoverExplorerSummary.xsl provided by NCover.
Has anybody done it. I can easily integrate other report types like
ModuleSummary, ModuleNamespaceSummary, ModuleClassSummary,
ModuleClassFunctionSummary, etc. But my manager wants to see the Full
coverage report in CCNet. Full coverage report I think is meant to be
used with the htmlReportName option. And it generates only html
(actually multiple).
<ncoverexplorer program="tools\ncoverexplorer
\ncoverexplorer.console.exe"
projectName="My Project"
reportType="FullCoverageReport"
sort="Name"
filter="None"
outputDir="${build.reports}"
xmlReportName="CoverageSummary.xml"
htmlReportName="CoverageSummary.html"
mergeFileName="CoverageMerge.xml"
showExcluded="True"
failMinimum="True">
<fileset>
<include name="coverage.xml" />
</fileset>
<exclusions>
<exclusion type="Assembly" pattern="*.Tests" />
</exclusions>
</ncoverexplorer>
Has anybody have any answers?