Tech riderRev. 4 Oct 2026
Microsoft Code Coverage
- 1Runs onLinux, Mac, Windows
- 2CostsFree plan
- 3Coverage typesline, block, assembly, class, procedure, managed CLR, unmanaged native
- 4Supported languagesC#, C++
- 5Report formatscoverage, XML, Cobertura
- 6Coverage gatesYes
6 lines stated Written from the maker's own pages: github.com, learn.microsoft.com

Overview
Microsoft Code Coverage is ranked #8 of 26 in test coverage tools on Specifiction. It runs on Linux, macOS, Windows. There is a free plan.
Microsoft Code Coverage plans and pricing
All plansCompared on test coverage tools
- Coverage types
- line, block, assembly, class, procedure, managed CLR, unmanaged nativegithub.com
- Supported languages
- C#, C++github.com
- Report formats
- coverage, XML, Coberturagithub.com
- Coverage gates
- Yesgithub.com
Facts
- Purpose
- Measures what proportion of a project's code is exercised by coded tests such as unit tests.learn.microsoft.com · 4 Oct 2026
- Managed and native code
- Coverage analysis supports managed CLR code and unmanaged native code; native coverage is disabled by default in the MTP extension.learn.microsoft.com · 4 Oct 2026
- Instrumentation
- The tooling supports static and dynamic instrumentation.learn.microsoft.com · 4 Oct 2026
- Test frameworks
- With Microsoft.Testing.Platform.MSBuild, coverage extensions are auto-registered when installed with MSTest, NUnit, and xUnit runners.learn.microsoft.com · 4 Oct 2026
- Usage
- The repository documents collecting coverage for .NET tests with dotnet test and for other .NET applications with the dotnet-coverage tool.github.com · 4 Oct 2026
- Configuration
- Coverage settings can control output, inclusion and exclusion rules, and instrumentation options using runsettings or dedicated coverage settings files.github.com · 4 Oct 2026
- Operating systems
- The supported operating systems include Windows, macOS, and multiple Linux distributions, with instrumentation support varying by OS, version, and architecture.github.com · 4 Oct 2026
- Platform limits
- Other operating systems are supported on a best-effort basis, and some OS and architecture combinations support static instrumentation only.github.com · 4 Oct 2026
- Runtime dependency
- Dynamic instrumentation on macOS and Linux requires the libxml2 package; missing required dependencies may cause an empty coverage report.github.com · 4 Oct 2026
- Test assembly default
- MTP excludes test assemblies from coverage by default unless configured otherwise.learn.microsoft.com · 4 Oct 2026
- Security
- The repository links to a security policy, but its README describes this repository as documentation and samples for closed-source coverage functionality.github.com · 4 Oct 2026
- Support
- The repository invites users to report issues related to the Microsoft.CodeCoverage and dotnet-coverage NuGet packages and Visual Studio code coverage functionality.github.com · 4 Oct 2026
- Intended users
- The documented workflows cover .NET test projects and other .NET applications that users want to measure for code coverage.github.com · 4 Oct 2026
Best Microsoft Code Coverage alternatives
See all 20 All accessCh 01 Coveralls Free planFree trialAPI from $10/mo7.6 All accessCh 02 ReportGenerator Free planFree trialLinux Free to start7.6 All accessCh 03 Codecov Free planFree trialAPI from $5/mo7.3 All accessCh 04 OpenClover Free planLinuxMac Free to start7.3 All accessCh 05 SimpleCov Free planLinuxMac Free to start7.2 All accessCh 06 Coverage.py Free planAPILinux Free to start7.1
Where it ranks on Specifiction
- Best Test Coverage Tools in 2026#8 of 26
Is Microsoft Code Coverage yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- learn.microsoft.com/en-us/dotnet/core/testing/microsoft-tes· checked 4 Oct 2026
- github.com/microsoft/codecoverage· checked 4 Oct 2026
- github.com/microsoft/codecoverage/blob/main/docs/c· checked 4 Oct 2026
- github.com/microsoft/codecoverage/blob/main/docs/s· checked 4 Oct 2026

