We've using both the TeamCity functionality for running dotCover, and would like to pump the coverage results into NDepend too.
To do this, we need to set ReportType in coverage.xml to NDependXml. However, then TeamCity can't do anything with the output.
Is there a way to get both the reports generated without having to re-run all our tests twice through dotCover?
That's would be really great!
Currently if coverage analysis is enabled for the configuration, TeamCity publishes coverage snapshot info artifacts (.teamcity/.NETCoverage/dotCover.snapshot)
It is possible to pass this snapshot to the bundled dotCover console runner and execute 'report' command to generate additional report of the desired type.
Besides that we have TeamCity feature request which aims to simplify the above mentioned process.
You are welcome to vote for it and comment.
Thanks Ruslan. It works perfectly!
I just need an update of NDepend, which should arrive today to be able to feed it with the dotcover report which was generated!
As a recap, but I will blog about it soon, I have
I just posted a blog post about this Using TeamCity integrated dotCover coverage files with NDepend !