How to get Branch Coverage from Msbuild task

How to get Branch Coverage from Msbuild task

We purchased NCover Enterprise 2.0.4 a couple of weeks ago. When we generate the coverage reports using the MSBuild task we get sequencing info in the report but no branching info.

Can someone give an example of how to use the MSBuild task to get branching info in the report as well?

The msbuild task documentation says that the default value of the "CoverageType " is both but it does not seem to work.

-Ahmed


RE: How to get Branch Coverage from Msbuild task

Ahmed,

NCoverExplorer doesn't show branching information; to see the branch coverage stats, you'll have to tell NCover to generate an HTML report, which you can do by setting the "CoverageHtmlDirectory" node in the MSBuild Task.

Stephen


RE: How to get Branch Coverage from Msbuild task

Thanks.

-Ahmed