Cake.Coverlet

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

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

dotnet add package Cake.Coverlet --version 4.0.1

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

Aliases

Several extension methods when using DotNetTest.

Test

Coverlet(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(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(FilePath, FilePath, CoverletSettings) Runs coverlet with the given dll, test project and settings
DotNetTest(FilePath, DotNetTestSettings, CoverletSettings) Runs DotNetTest using the given CoverletSettings