Cake.MiniCover

Cake addin for MiniCover

#addin nuget:?package=Cake.MiniCover&version=0.28.1

dotnet add package Cake.MiniCover --version 0.28.1

<PackageReference Include="Cake.MiniCover" Version="0.28.1" />

Aliases

Contains functionality related to MiniCover.

In order to use the commands for this alias, create a tools project and use the Cake.MiniCover.MiniCoverAliases.SetMiniCoverToolsProject(Cake.Core.ICakeContext,Cake.Core.IO.FilePath) alias.

General

MiniCover(Action<ICakeContext>, MiniCoverSettings) Instruments test assemblies using MiniCover before executing the specified test action to generate code coverage.
MiniCoverInstrument(MiniCoverSettings) Instrument the specified assemblies to gather coverage data
MiniCoverInstrument() Instrument the specified assemblies to gather coverage data
MiniCoverReport(MiniCoverSettings, string, Action<ProcessArgumentBuilder>) Generate a report using the specified report provider name. Only use this if if you need to generate a report for which Cake.MiniCover does not yet have settings for.
MiniCoverReport(MiniCoverSettings, string) Generate a report using the specified report provider name. Only use this if if you need to generate a report for which Cake.MiniCover does not yet have settings for.
MiniCoverReport(MiniCoverSettings) Generate one or more minicover reports
MiniCoverReset(MiniCoverSettings) Reset coverage for the minicover project identified by the provided settings
MiniCoverReset() Reset coverage for the minicover project identified by the provided settings
MiniCoverUninstrument(MiniCoverSettings) Uninstrument the assemblies that were instrumented for code coverage
MiniCoverUninstrument() Uninstrument the assemblies that were instrumented for code coverage
SetMiniCoverToolsProject(FilePath) Set the location of the 'csproj' that contains the MiniCover DotNetCliToolReference and restore packages for it