/corecover

A cross platform code coverage tool created in .net core for .net core applications. (WIP)

Primary LanguageC#MIT LicenseMIT

corecover

Linux Build text Windows Build status
Coverage Status License
Light-weight cross platform code coverage tool for .Net Core applications.

Usage

Implemented as a dotnet cli extension, which allows for an easy to use command line:

dotnet cover TestProject/BinFolder/ coverage.xml

Install

  1. Install the CoreCover nuget in your project.
  2. Add the following entry to the .csproj of your test project:
<ItemGroup>
  <DotNetCliToolReference Include="CoreCover" Version="*" />
</ItemGroup>

Status

  • Only methods are being covered.
  • Coverage accuracy is not reliable yet.
  • Dynamically generated classes are not removed from report.
  • Last line of a method is never marked as covered.
  • Only currently supported format for report is OpenCover.