This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.MiniCover.
Summary
Set the --workdir for minicover
- Assembly
- Cake
.MiniCover .dll - Namespace
- Cake
.MiniCover .Settings - Containing Type
- Mini
Cover Settings Extensions
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 |