Summary
Contains functionality related to XUnit2 settings.
- Namespace
- Cake
.Common .Tools .XUnit - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["XUnit2SettingsExtensions"]
class Type type-node
Syntax
public static class XUnit2SettingsExtensions
Methods
| Name | Value | Summary |
|---|---|---|
| ExcludeTrait |
XUnit2Settings |
Adds a trait to the settings, to exclude in test execution.
static
|
| IncludeClass |
XUnit2Settings |
Adds a class name to the settings, to include in test execution. Class name should be fully qualified; i.e., MyNameSpace.MyClassName.
static
|
| IncludeMethod |
XUnit2Settings |
Adds a method name to the settings, to include in test execution. Method name should be fully qualified; i.e., MyNameSpace.MyClassName.MyMethod.
static
|
| IncludeNamespace |
XUnit2Settings |
Adds a namespace to the settings, to include in test execution. Namespace should be fully qualified; i.e., MyNameSpace.MySubNamespace.
static
|
| IncludeTrait |
XUnit2Settings |
Adds a trait to the settings, to include in test execution.
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| 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
|
