DJ Sitte
DJ Sitte

Reputation: 61

View missed branches with code coverage in VS 2015

I'm using the code coverage tool in Visual Studio 2015, and it's showing that some branches aren't being covered, but I can't find a way to view which branch specifically is being missed. While I can simply look at the unit tests and figure out which branch is being missed, is there a way to view the branches missed with the code coverage tool?

Upvotes: 0

Views: 1133

Answers (1)

Terje Sandstrøm
Terje Sandstrøm

Reputation: 1991

You can enable Coverage colouring for your code. In the window for Code Coverage, enable the button "Show Code Coverage Coloring" enter image description here

Upvotes: 1

Related Questions