Multiple report types? TeamCityXml and NDependXml Follow
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?
Thanks
J
Please sign in to leave a comment.
That's would be really great!
Thanks
Laurent
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.
http://youtrack.jetbrains.com/issue/TW-19762
You are welcome to vote for it and comment.
Regards,
Ruslan
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 !
Cheers
Laurent
That's great!
Thanks Laurent!