Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 menu 'analyze code coverage' is missing

There is this great tool in Visual Studio 2012 to show the test coverage of the source code. On the official MSDN homepage it is shown under menu Test -> Analyze Code Coverage.

But in my Test menu this entry is missing and I could'nt figure out why. Can someone please explain? Am I missing an addon/plugin?

Update: Visual Studio 2012 Professional with Update 3.

like image 965
John Threepwood Avatar asked Jul 10 '13 17:07

John Threepwood


People also ask

How do I enable code coverage in Visual Studio?

Starting in Visual Studio 2022 Update 2, you can enable faster code coverage test results by selecting Tools > Options > Environment > Preview Features, then selecting Code coverage experience improvements, and then restarting Visual Studio.

How do I get code coverage in Visual Studio 2017?

Code coverage feature in Visual Studio 2017 enabled only in Version 15.3. 3 or more. Next load your project, click on the Test Menu, Select Analyze Code Coverage menu and select All Tests, which will run all the tests and display code coverage results.

Does Visual Studio code have code coverage?

Code coverage will highlight lines of code that are not covered by tests. It will list the uncovered lines under the problems window. And it conveniently shows the coverage ratio in the status bar.


1 Answers

According to the MSDN page you linked:

Requirements

Visual Studio Ultimate, Visual Studio Premium

So it will not be available on Professional.

like image 106
Arclight Avatar answered Sep 28 '22 03:09

Arclight