Summary
Contains functionality related to running xunit tests.
In order to use the commands for this alias, include the following in your build.cake file to download and
install from nuget.org, or specify the ToolPath within the XUnitSettings class:
#tool "nuget:?package=xunit.runner.console&version=2.2.0"
- Namespace
- Cake
.Common .Tools .XUnit - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["XUnitAliases"]
class Type type-node
Syntax
[CakeAliasCategory("xUnit")]
public static class XUnitAliases
Attributes
| Type | Description |
|---|---|
| Cake |
An attribute used for documentation of alias methods/properties. |
Methods
| Name | Value | Summary |
|---|---|---|
| XUnit |
void |
Runs all xUnit.net tests in the assemblies matching the specified pattern.
static
|
| XUnit |
void |
Runs all xUnit.net tests in the assemblies matching the specified pattern.
static
|
| XUnit |
void |
Runs all xUnit.net tests in the specified assemblies.
static
|
| XUnit |
void |
Runs all xUnit.net tests in the specified assemblies.
static
|
| XUnit |
void |
Runs all xUnit.net tests in the specified assemblies.
static
|
| XUnit |
void |
Runs all xUnit.net tests in the specified assemblies.
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
|
