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 coverage percentage below which the build will fail
- Assembly
- Cake
.MiniCover .dll - Namespace
- Cake
.MiniCover .Settings - Containing Type
- Mini
Cover Settings Extensions
Syntax
public static MiniCoverSettings WithThreshold(this MiniCoverSettings settings, float threshold)
Parameters
Name | Type | Description |
---|---|---|
settings | MiniCoverSettings | The settings. |
threshold | float | The failure threshold to use |
Return Value
Type | Description |
---|---|
MiniCoverSettings | The MiniCoverSettings instance so that multiple calls can be chained |