How to import coverage report from table for ndepend using teamcity?

We use teamcity for

  • Assembly
  • Code coverage (using the built-in dotCover)
  • Code Analysis (using NDepend)

This works great.

But I can’t understand how to get the coverage report in ndepend format and use it as a contribution to ndepend with teamcity.

I can do all this manually using the command line tools step by step, but it takes a lot of effort every time. I know that I can make a bat / rake file and create xml configuration files for coloring and call exe and calling ndpend manually. But as said, I'm looking for a more integrated and automatic way.

+3
source share
1 answer

NDepend, .ndproj XML dotCover, :

  <CoverageFiles UncoverableAttribute="NDepend.Attributes.UncoverableByTestAttribute">
    <CoverageFile MergeMode="Or">.\CoverageFiles\CoverageFile.xml</CoverageFile>
  </CoverageFiles>

, <CoverageFile> , MergeMode = "". , .ndproj, , .

API NDepend, NDepend.

+1

All Articles