MiniCoverSettingsExtensions.

WithMiniCoverWorkingDirectory(MiniCoverSettings, DirectoryPath) Method

Summary

Set the --workdir for minicover

Syntax

public static MiniCoverSettings WithMiniCoverWorkingDirectory(this MiniCoverSettings settings, DirectoryPath workdir)

Examples

// Genarate an html report in myCoverage-html/ and an xml report in myCoverage.xml var settings = new MiniCoverSettings().GenerateReport(ReportType.HTML | ReportType.XML).WithReportPrefix("myCoverage");

Parameters

Name Type Description
settings MiniCoverSettings The settings.
workdir DirectoryPath The working directory to use for minicover

Return Value

Type Description
MiniCoverSettings The MiniCoverSettings instance so that multiple calls can be chained