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
Use the specified prefix for report generation
- Assembly
- Cake
.MiniCover .dll - Namespace
- Cake
.MiniCover .Settings - Containing Type
- Mini
Cover Settings Extensions
Syntax
public static MiniCoverSettings WithReportPrefix(this MiniCoverSettings settings, string prefix)
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. |
prefix | string | The report prefix |
Return Value
Type | Description |
---|---|
MiniCoverSettings | The MiniCoverSettings instance so that multiple calls can be chained |