Skip to content
SPECIFICTION
Get listed

cargo-llvm-cov vs Coverlet

cargo-llvm-cov

github.com

Coverlet

github.com

Side by side

Figurecargo-llvm-covCoverlet
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
Plans published11
Spec score · Test Coverage Tools8.1 (#8)7.7 (#12)
LicenseThe project is available under either the Apache License 2.0 or the MIT License, at the user's option.The repository states that Coverlet is licensed under the MIT License.
Purposecargo-llvm-cov is a Cargo subcommand that wraps rustc’s LLVM source-based code coverage instrumentation.Coverlet is a cross-platform code coverage framework for .NET with line, branch and method coverage.
Report formatsCoverage reports can be generated as text, HTML, JSON, LCOV, Cobertura XML, or Codecov Custom Coverage format.The MTP driver supports JSON, LCOV, OpenCover and Cobertura output formats.
RequirementsInstalling currently requires rustc 1.87 or newer, while running it requires Cargo 1.60 or newer.Coverlet supports modern SDK-style projects, and its MTP package requires .NET 8.0 SDK or newer.

Plans

cargo-llvm-cov

  • Free / open sourceFree

cargo-llvm-cov pricing →

Coverlet

  • CoverletFree

Coverlet pricing →

In their own words

cargo-llvm-cov

cargo-llvm-cov is a Cargo subcommand that uses rustc’s LLVM source-based instrumentation to generate code coverage reports. It works with cargo test, cargo run, and cargo nextest through a Cargo-compatible command-line interface, and supports proc-macro UI tests. Line and region coverage are available; branch coverage is optional and requires nightly Rust. Doc-test coverage is also optional and requires nightly features. Reports can be generated as text, HTML, JSON, LCOV, Cobertura XML, or Codecov Custom Coverage format. The project provides GitHub Actions examples for uploading reports to Codecov and a GitLab CI example using Cobertura output. LCOV results can be viewed in VS Code with the Coverage Gutters extension. With compatible Clang and LLVM tools configured, the tool can include C and C++ code linked to a Rust library or binary. It supports Linux, macOS, and Windows, and is licensed under either Apache-2.0 or MIT at the user's choice. Installation requires rustc 1.87 or newer, while running it requires Cargo 1.60 or newer. Branch and doc-test coverage are unstable and have known issues, respectively.

Visit github.com

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.

Visit github.com