New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert .coverage to .lcov file #285
Comments
Genrerating lcov.info files is pretty easy. The format is very simple. *.coverage files are currently not supported. You have to convert them to XML first. See: Should I add support for lcov.info as an output format? |
I just added support for lcov output format. You can try the following packages: Please use the following command line parameter: |
Is still works on line by line basis, not by scope - but I think it's limitation of visual studio itself. |
Microsoft has similar requirement: But not sure when it will be available. |
I'm closing this issue. Feel free to reopen if you need further changes. |
In Visual Studio code there exists extension called Coverage Gutters:
https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters
That extension is targeted to display code coverage information, based on .lcov file format.
(Target programming languages are: Java, Javascript and so on).
Meanwhile C++ is not supported there, even thus you could use vstest.console.exe from Visual studio to execute the test, and produce .coverage file.
To my best understanding ReportGenerator is already capable of parsing .coverage files, and it has also knowledge of lcov.info, since it's parsing them as well.
How complex would it be to perform conversion from .coverage to lcov.info ?
The text was updated successfully, but these errors were encountered: