Light-weight cross platform code coverage tool for .Net Core applications.
Implemented as a dotnet cli extension, which allows for an easy to use command line:
dotnet cover TestProject/BinFolder/ coverage.xml
- Install the CoreCover nuget in your project.
- Add the following entry to the .csproj of your test project:
<ItemGroup>
<DotNetCliToolReference Include="CoreCover" Version="*" />
</ItemGroup>
- 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.