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.Coverlet.
Summary
Settings used by Cake.Coverlet
- Assembly
- Cake
.Coverlet .dll - Namespace
- Cake
.Coverlet - Base Types
-
- DotNetSettings
graph BT
Type-->Base0["DotNetSettings"]
Type["CoverletSettings"]
class Type type-node
Syntax
public class CoverletSettings : DotNetSettings
Constructors
Name | Summary |
---|---|
CoverletSettings |
Properties
Name | Value | Summary |
---|---|---|
CollectCoverage | bool |
Gets or sets if coverage should be collected
|
Coverlet |
DirectoryPath |
Gets or sets the output directory the output files
|
CoverletOutputFormat | CoverletOutputFormat |
Gets or sets the output format for Coverlet
|
CoverletOutputName | string |
Gets or sets the name of the output file excluding format
|
Exclude | List |
Gets or sets the exclusion filters
|
ExcludeByAttribute | List |
Gets or sets the list of files to exclude
|
ExcludeByFile | List |
Gets or sets the list of files to exclude
|
Include | List |
Gets or sets a inclusion filters
|
IncludeTestAssembly | Nullable |
Gets or sets if the test assembly should be included
|
MergeWithFile | FilePath |
Gets or sets the file to merge the results of the run with
|
OutputTransformer | OutputTransformer |
Gets or sets a transformation function taking the
CoverletOutputName and
returning the new file name without an extension
|
Threshold | Nullable |
Gets or sets the threshold for Coverlet to use in percent
|
ThresholdType | ThresholdType |
Gets or sets the type of threshold to apply.
|
Methods
Name | Value | Summary |
---|---|---|
Clone |
CoverletSettings |
Clones the coverlet settings to a new instance
|
SetFormat |
CoverletSettings |
Sets the output format to be a specific value
|
With |
CoverletSettings |
Adds a attribute to the list of attribute to exclude
|
With |
CoverletSettings |
Add a default transformer appending the current date time at the time of calling test
|
WithFileExclusion |
CoverletSettings |
Adds a file to the list of files to exclude
|
WithFilter |
CoverletSettings |
Adds a filter to the list of exclusions
|
WithFormat |
CoverletSettings |
Add a type of format to combine with the existing output formats
|
With |
CoverletSettings |
Sets the output format to be a specific value
|
WithInclusion |
CoverletSettings |
Adds a filter to the list of inclusions
|
WithThresholdType |
CoverletSettings |
Add a type of threshold to combine with the existing
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator 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
|