ryanluker / vscode-coverage-gutters

Display test coverage generated by lcov and xml - works with many languages
https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters
MIT License
460 stars 88 forks source link

Handle lcov file parsing errors #191

Closed DW8Reaper closed 5 years ago

DW8Reaper commented 5 years ago

Running coverage-gutter on my project keeps failing with an error Error: Failed to parse string similar to what is described in the issue Error Failed to parse string #150.

For me it turned out to be invalid lcov files in our project but there was no way to remedy this and no log to see which files were in error. I ran both npm test-unit and npm test-integration both worked but npm test fails but looks like that commands setup might not be correct.

ryanluker commented 5 years ago

@DW8Reaper Thanks again for the pull request! This improvement will go out with the 2.3.0 release but I have also included the latest master vsix build below for you to use in the meantime if you wish.

vscode-coverage-gutters-2.3.0.zip