Visual Studio 2012 menu 'analyze code coverage' is missing - c#

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.

According to the MSDN page you linked:
Requirements
Visual Studio Ultimate, Visual Studio Premium
So it will not be available on Professional.

Code coverage is available in premium and ultimate flavors of Visual Studio 2012.

A free alternative is the OpenCover: https://www.nuget.org/packages/OpenCover

This doesn't work on VS2012, but if you happen to be using a more recent version https://opencppcoverage.codeplex.com/ has a VS plugin.

Related

Mimic Visual Studio IntelliSense filtering behavior in Visual Studio Code?

Is there an IntelliSense setting in Visual Studio Code to "filter" by Property, Method, Extension Method, or Template, similar to the behavior found in Visual Studio?
Visual Studio 2015:
Visual Studio Code (notice the List methods and LINQ extension methods are mixed together):
As far as I know, we have the IntelliSense filtering from VS 2017 RC version, not the VS 2015, please check this: Productivity in Visual Studio 2017 RC
I have checked the VS Code IntelliSense and its settings, there is no such feature for it. After research, I found some other community members already reported this user voice to the VS Code Product Team, please have a look at this: Add action(and ultimately a shortcut) to narrow auto suggestions by suggestion type #18639
Now the VS Code Product Team have not added any update yet, you can try to add a comment to know the current progress of this requested feature, thank you for your understanding.

GIT integration to show method history in Visual Studio

We use GitHub for our source code repository and Visual Studio for our development (C#). I downgraded from Visual Studio Professional (Trial) to Community Edition and somehow lost the GIT method history I had above each method signature. I've since reinstalled Pro version and still can't see it. This method history was very useful and looked something like:
Last Update 8/1/2015, 3 authors.
Void DoSomething() {}
Clicking on the status line would bring up things like "compare to previous version", history etc.
I'm not sure if it was a feature of Visual Studio Professional (doubtful) or one of the git extensions I possibly installed (see Tools->Extensions and Updates) or something else. I'm new to using GIT/GitHub, especially with Visual Studio and would appreciate some help. My specific questions
1. How do I get history/last author/etc for each method (not file)? Does it work under Professional and Community
2. What are some good Git Tools to install in Visual Studio to see changes/history, etc.? I'm using the command line to commit/push etc., but am not opposed to doing this from Visual Studio if it makes sense.
Thanks,
Dave
What you initially refer to is a feature of Visual Studio called CodeLens. It's available in the Professional and Enterprise editions of Visual Studio 2015, but not available in the Community edition.
To try and resolve this not working, I would:
Make sure you are actually running Visual Studio 2015 Professional edition, and not the Community edition.
Make sure you have Git for Windows installed.
In addition to the excellent answer by Steve (which I'm marking as answer), I'll note that I had additional problems (after installing Git for Windows).
I got errors at startup and didn't see the method info. The errors were:
The 'GitCollaborationPackage' package did not load correctly.
The 'FileIndicatorPackage' package did not load correctly.
The fix was to rename the componentmodelcache directory under C:\Users\cshar\AppData\Local\Microsoft\VisualStudio\14.0
See:
Packages not loading after installing visual studio 2015 RTM
or
http://kuebiko.blogspot.ru/2013/07/setsite-failed-for-package.html

Mutation Testing Tools for Visual Studio 2015

Is there any mutation testing tools from C# on visual studio 2015?
Visual Mutator is not working with visual studio 2015 (link to github issue)
https://github.com/pavzaj/visualmutator
Please check my fork. It is not release ready, but somehow works with VS2015 and nunit 3.

Visual Studio 2010 Build server with VS 2013 Solution

I was wondering if it was possible to build (in release) a 2013 visual studio solution file within Visual Studio 2010.
Search engine is coming up with 2010 to 2013 related issues.
Thanks
First, you will probable need SP1 for Visual Studio 2010. Even then you need to refer to the Visual Studio 2013 compatibility page to determine if the scenario you are looking for is supported. It will depend on the exact type of project you are building, the version of framework you are using, templates you are using, etc.

Analyze Code Coverage Disappear

i Run all created Unit Tests but i haven't option Analyze Code Coverage in Test and cant choose it from Test Explorer Window. Any Ideas? I have VS 2013 Professional
According to http://www.visualstudio.com/en-us/products/compare-visual-studio-products-vs.aspx code coverage statistics in your testing tools are only available in Visual Studio 2013 Premium and Ultimate.
Requirements:
Visual Studio Ultimate, Visual Studio Premium
https://msdn.microsoft.com/en-us/library/dd537628(v=vs.120).aspx
In Visual Studio 2015 and 2017,You can get the privilege from
Visual Studio Enterprise
https://msdn.microsoft.com/en-us/library/dd537628(v=vs.140).aspx

Categories