I have created a .coverage
file using Vsperfmon.exe
I am currently using VS 2012 professional for web
licensed edition. The .coverage
result cannot be opened in VS Professional
. After Googling I have come to know that VS Ultimate
can open it
Rather than using VS Ultimate
, is there any plugins for VS professional 2012
or any 3rd party solutions
Coverage in the Coverage tool window The Code Coverage tool windows appears right after you run a configuration with coverage and displays the coverage report. If you want to reopen the Coverage tool window, select Run | Show Code Coverage Data from the main menu, or press Ctrl+Alt+F6 .
A COVERAGE file is a data file created by Visual Studio, a software development tool used for creating Windows programs and web applications. It contains a coverage report, which includes the proportion of your code that was tested by a coded test.
Please right-click your . coverage file to choose open with -> Notepad. Then it will shown with XML content in that file. And you also can change the .
On the Test menu, select Analyze Code Coverage for All Tests. You can also run code coverage from the Test Explorer tool window. Show Code Coverage Coloring in the Code Coverage Results window. By default, code that is covered by tests is highlighted in light blue.
I've spent some time researching this today, as I'm in a similar situation; I have a .coverage file generated by TFS, and VS 2012 Pro, and I can't view the file. As far as I can tell, the answer is "You need VS Premium or Ultimate to view .coverage files."
I found https://github.com/danielpalme/ReportGenerator, which generates reports based on XML-formatted coverage files. It includes instructions for converting .coverage to XML (see https://github.com/danielpalme/ReportGenerator/wiki/Visual-Studio-Coverage-Tools), but that process depends on Microsoft.VisualStudio.Coverage.Analysis
which isn't present in VS Pro.
Another tool I came to know to convert .coverage file to readable format is Visual Coverage .This converts into html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With