compiler-explorer / compiler-explorer/compiler-explorer

[REQUEST]: Integrate gcov/gcovr code coverage tooling framework with compiler-explorer

Open
#4,792 1 comment 0 reactions 0 assignees View on GitHub
request
Dominant language
TypeScript
Stars
19.1k
Forks
2.1k
Avg merge
3d 15h
Merged PRs (30d)
67

Description

### Is your feature request related to a problem? Please describe

Hi,

Compiler-explorer is providing support to integrate gtest/gmock and running unit tests. Currently code coverage framework can't be integrated in compiler-explorer, or I haven't found it yet.

Would it be possible to have integration of code coverage tooling support - eg: gcov/gcovr? It would be a great add-on as sometimes in project codebase, issues related to coverage reports are difficult to analyze, whereas in compiler-explorer, we can sample out portions of code and play with unit tests & test coverage on the fly if gcov/lcov/fastcov/gcovr toolings could be integrated.

Thank you,
Honey

Honey Sukesan

### Describe the solution you'd like

Support of code coverage tooling - such as gcov/gcovr or gcov/lcov/fastcov or cobertura.

### Describe alternatives you've considered

For sharing some code with code coverage issues, now I can only sample out source code in compiler-explorer, write unit tests using gmock/gtest, run unit tests, but can't view coverage results as I haven't found gcov/gcovr or code coverage tool suite integration with compiler-explorer.

### Additional context

Not applicable

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.