Coverlet vs gcovr
Coverlet
github.comgcovr
gcovr.comSide by side
| Figure | Coverlet | gcovr |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Plans published | 1 | 0 |
| Spec score · Test Coverage Tools | 7.7 (#12) | 7.6 (#13) |
| Integrations | The project lists a Cake.Coverlet add-in for Cake Build and extensions for viewing coverage in Visual Studio on Windows and Visual Studio for Mac. | Cobertura XML can be used with Jenkins, and gcovr also produces Coveralls and SonarQube formats. |
| License | The repository states that Coverlet is licensed under the MIT License. | gcovr is available under the BSD 3-Clause License. |
| Maintainers | The repository lists Toni Solarin-Sodara as author and owner, alongside co-maintainers. | The documentation lists Lukas Atkinson and Michael Förderer as maintainers. |
| Purpose | Coverlet is a cross-platform code coverage framework for .NET with line, branch and method coverage. | gcovr manages GNU gcov and generates summarized code coverage results. |
| Report formats | The MTP driver supports JSON, LCOV, OpenCover and Cobertura output formats. | It generates text, HTML, CSV, JSON, Markdown, Clover, Cobertura, Coveralls, JaCoCo, LCOV and SonarQube reports. |
| Support | The project directs users to report bugs and feature requests through the repository’s issues section. | The project directs users to GitHub issue tickets, Stack Overflow and a Gitter chat room for help. |
Plans
In their own words
Coverlet
Coverlet is a free, MIT-licensed code coverage framework for modern .NET SDK-style projects. It measures line, branch, and method coverage across Linux, macOS, and Windows. Before tests execute, Coverlet instruments assemblies, records sequence-point hits, restores the original assemblies, and writes coverage results. Drivers are available for Microsoft Testing Platform, the .NET global tool, VSTest, and MSBuild. The Microsoft Testing Platform driver can emit JSON, LCOV, OpenCover, and Cobertura reports. Depending on the driver, teams can merge reports, validate coverage thresholds, and support deterministic builds. Collector and MSBuild packages use VSTest; Microsoft Testing Platform projects instead use coverlet.MTP, which requires the .NET 8.0 SDK or newer. Cake.Coverlet and Visual Studio viewing extensions are also listed. Coverage gates are supported, and bugs or feature requests go through the repository issues section.