Richa
Richa

Reputation: 407

VS 2012 Code Coverage

We are using VS2008 prof. in our application. In 2008 prof. code coverage feature isn’t available. So we are achieving this by creating unit test project and added its entry in .vsmdi file and running test cases we can get code coverage feature.

Now we are planning to migrate our application from VS2008 prof. to VS2012 prof. In VS2012 prof. also code coverage feature isn’t available. So we also trying the same VS2008 prof. approach to achieve it but still I am not getting code coverage option.

Please let me know if there is any way to achieve code coverage feature in VS2012.

Upvotes: 1

Views: 127

Answers (2)

Shaun Wilde
Shaun Wilde

Reputation: 8378

There are other alternatives that you can use to get code coverage (assuming you are using .NET) see What can I use for good quality Code Coverage for C#/.NET?.

I am partial to OpenCover for obvious reasons :)

Upvotes: 1

Micha
Micha

Reputation: 5163

Code Coverage is native only available in VS12 Premium and Ultimate not in Profesional. See here at "Determine how much code is being tested with code coverage analysis".

Upvotes: 1

Related Questions