.COVERAGE File Extension
Visual Studio Code Coverage Report
Developer | Microsoft |
Popularity |
2.2 | 6 Votes |
What is a COVERAGE file?
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. COVERAGE files may be generated for managed (command line interface) and unmanaged (native) code.
More Information
COVERAGE files are created using the Test Explorer tool included with Visual Studio. The file stores the percentage of code run in every assembly, method, and class. COVERAGE files are saved in the "TestResults" folder.
To import a COVERAGE file from a previous test, select Import Code Coverage Results and navigate to the COVERAGE file in your solution's "TestResults" folder. When you open the file, your code is displayed with coloring to distinguish which code has been covered in the test. You can also export the COVERAGE file to the more readable .XML format by choosing Export Code Coverage Results.