Cake.Coverlet

Cake addin that extends Cake with the ability to use Coverlet.

#addin nuget:?package=Cake.Coverlet&version=2.5.1

<package id="Cake.Coverlet" version="2.5.1" />

dotnet add package Cake.Coverlet --version 2.5.1

<PackageReference Include="Cake.Coverlet" Version="2.5.1" />

Aliases

Several extension methods when using DotNetCoreTest.

Test

Coverlet(ICakeContext, DirectoryPath, CoverletSettings, string) Runs the coverlet global tool with the given folder. We will discover any proj files, take the first and infer the name of the dll from that.
Coverlet(ICakeContext, FilePath, CoverletSettings, string) Runs the coverlet global tool with the given test project. The name of the dll is inferred from the project name
Coverlet(ICakeContext, FilePath, FilePath, CoverletSettings) Runs coverlet with the given dll, test project and settings
DotNetCoreTest(ICakeContext, FilePath, DotNetCoreTestSettings, CoverletSettings) Runs DotNetCoreTest using the given CoverletSettings