Thursday, September 1, 2016

Setting up Code Coverage Analysis in TeamCity

If you are using Visual Studio 2015 Professional Edition, unfortunately, you are out of luck when it comes to getting Code Coverage of your Unit Tests since this is only available in Visual Studio Enterprise edition (

However, Jetbrains TeamCity has provided a solution for those development teams lacking licenses to Visual Studio 2015 Enterprise Edition in the form of dotCover!

dotCover is bundled for FREE with Jetbrains TeamCity and can be used to perform Code Coverage Analysis of your Unit Tests.

For information on how to set up dotCover to run Code Coverage for your Unit Tests, you can check out this article:

Unfortunately, one of the main limitations of TeamCity documentation is the lack of screenshots for how to accomplish a particular task.

Thankfully, though, this blog article addresses that gap by providing screenshots of just how to configure dotCover within TeamCity:

Once you have set everything up correctly, you will end up with Code Coverage Reports in TeamCity like the following:

No comments:

Post a Comment