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
Contains settings used by
MiniCoverAliases
.
- Assembly
- Cake
.MiniCover .dll - Namespace
- Cake
.MiniCover .Settings - Base Types
-
- DotNetCoreSettings
graph BT
Type-->Base0["DotNetCoreSettings"]
Type["MiniCoverSettings"]
class Type type-node
Syntax
public sealed class MiniCoverSettings : DotNetCoreSettings
Constructors
Name | Summary |
---|---|
MiniCoverSettings |
Properties
Name | Value | Summary |
---|---|---|
Assembly |
ISet |
Pattern to exclude assemblies
|
Assembly |
ISet |
Pattern to include assemblies
|
CoverageFileName | string |
Name of json coverage file
|
Coveralls | CoverallsSettings |
Settings for the
COVERALLS report type
|
FailureThreshold | float |
Coverage percentage below which the build will fail
|
HitsFileName | string |
File name to store coverage hits in
|
Mini |
DirectoryPath |
The working directory for minicover (corresponds to the --workdir option)
|
NonFatalThreshold | bool |
If true, threshold is set for reporting only and will not fail the build
|
ReportPrefix | string |
The prefix for html and xml reports
|
ReportType | ReportType |
The type of report or reports to generate
|
Sources |
ISet |
Pattern to exclude source files
|
SourcesGlobPatterns | ISet |
Pattern to include source files
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
GenerateReport |
MiniCoverSettings |
Set the report type to generate
Requires the Cake.MiniCover addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
With |
MiniCoverSettings |
Instrument test assemblies matching the specified pattern
Requires the Cake.MiniCover addin
|
WithCoverageFile |
MiniCoverSettings |
Use the provided name for the internal coverage file
Requires the Cake.MiniCover addin
|
With |
MiniCoverSettings |
Set settings for coveralls report generation
Requires the Cake.MiniCover addin
|
With |
MiniCoverSettings |
Set settings for coveralls report generation
Requires the Cake.MiniCover addin
|
WithFatalThreshold |
MiniCoverSettings |
Fail the build if coverage is below the threshold. This is the default behavior.
Requires the Cake.MiniCover addin
|
WithHitsFile |
MiniCoverSettings |
Use the provided name for the hits file
Requires the Cake.MiniCover addin
|
With |
MiniCoverSettings |
Set the --workdir for minicover
Requires the Cake.MiniCover addin
|
With |
MiniCoverSettings |
Do not fail the build if coverage is below the threshold
Requires the Cake.MiniCover addin
|
Without |
MiniCoverSettings |
Exclude from instrumentation all test assemblies matching the specified pattern
Requires the Cake.MiniCover addin
|
Without |
MiniCoverSettings |
Exclude files matching the specified pattern from coverage results
Requires the Cake.MiniCover addin
|
WithReportPrefix |
MiniCoverSettings |
Use the specified prefix for report generation
Requires the Cake.MiniCover addin
|
WithSourcesMatching |
MiniCoverSettings |
Measure coverage on files matching the specified pattern
Requires the Cake.MiniCover addin
|
WithThreshold |
MiniCoverSettings |
Set the coverage percentage below which the build will fail
Requires the Cake.MiniCover addin
|