How to create a coverage report from a visual studio .coverage file that is similar to the file created by emma?

Coverage of Visual Studio code creates a binary .coverage file that can be converted to xml. Is there an available xsl conversion that can convert this xml to a formatted report, similar to the one that was created using the emma coverage tool for java. Any other conversions that might lead to a meaningful report are also welcome.

+4
source share
1 answer

This tool can help: https://github.com/jsargiot/visual-coverage

This tool converts the .coverage file to a clover or html report.

It is easy to use:

VisualCoverage.exe --input file.coverage --html report.html 

I use it, and the only problem (related to the coverage files themselves) is that you need a binary folder for the report to work, otherwise you will get the error message "image not found".

+3
source

All Articles