Closed aaron-ai closed 1 year ago
Hey! As long as I understand from the docs bazel creates coverage report in LCOV format. coverage-reporter supports LCOV, however, as they say, the coverage report filename is something like _coverage_report.dat
, so for correct parsing I suggest providing --filename <path-to _coverage_report.dat>
and --format lcov
options.
coverage-reporter won't be able to automatically detect the format of this file since it uses filename patterns to detect it, and for LCOV filenames should end with .lcov
or lcov.info
If you face any issues with the bazel reports, please create an issue or extend this one, and I'll be glad to help :)
Question
Does coverage-reporter support cpp bazel coverage output format?
We generate coverage file by
bazel coverage //...
.