Overview

Types of code coverage tools:

  • DataCollectors — monitor test execution and collect information about test runs. Part of VSTest; built into Visual Studio.
  • Report generators — use data collected by DataCollectors to generate (often HTML-formatted) reports.
  • Coverlet — a cross-platform code-coverage tool for .NET. An alternative to VSTest.
    • xUnit integrates with Coverlet.
  • dotnet-coverage