Side by side
c8 vs Microsoft Code Coverage
Both stand on test coverage tools. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan Linux
Choose c8 if you need a free command-line tool that turns Node.js V8 coverage into configurable reports and can enforce coverage thresholds. Look elsewhere if you need pull-request annotations or historical trends, or if your platform is not Linux.
Visit c8 Free plan LinuxMacWindows
Microsoft Code Coverage provides configurable coverage collection for .NET workflows across Windows, macOS, and Linux. Check the operating-system requirements and default test-assembly exclusion when setting up collection.
Visit Microsoft Code CoverageThe facts
| c8 | Microsoft Code Coverage | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | Linux | Linux, Mac, Windows |
| Lowest paid plan | Free or on request | Free or on request |
| Plans published | 1 | 1 |
| Maker | Not published | Not published |
| Website | github.com | github.com |
| On test coverage tools | #9 of 27 | #13 of 27 |
c8: what it does well
- Free and open source, with an ISC license.
- Measures lines, functions, branches, and statements.
- Supports Istanbul-compatible reporters and an experimental Monocart option.
- Can include unloaded eligible files at 0% coverage.
- Supports source-map remapping and configurable coverage thresholds.
What to know first
- Listed platform support is Linux.
- It does not provide pull-request annotations.
- Latest listed release dependencies require specified Node.js versions.
Microsoft Code Coverage: what it does well
- Measures coverage for managed and native code
- Offers static and dynamic instrumentation
- MTP extension supports coverage, XML, and Cobertura output
- Works with MSTest, NUnit, and xUnit runners
- Free to use
What to know first
- Dynamic instrumentation on macOS and Linux requires libxml2
- MTP excludes test assemblies by default
- Instrumentation varies by OS, version, and architecture
- Repository describes closed-source functionality
Alternatives to c8 Alternatives to Microsoft Code Coverage The whole list