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 XUnit2Settings
class:
#tool "nuget:?package=xunit.runner.console"
- Namespace
- Cake
.Common .Tools .XUnit - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["XUnit2Aliases"]
class Type type-node
Syntax
[CakeAliasCategory("xUnit v2")]
public static class XUnit2Aliases
Attributes
Type | Description |
---|---|
Cake |
An attribute used for documentation of alias methods/properties. |
Methods
Name | Value | Summary |
---|---|---|
XUnit2 |
void |
Runs all xUnit.net v2 tests in the assemblies matching the specified pattern.
static
|
XUnit2 |
void |
Runs all xUnit.net v2 tests in the assemblies matching the specified pattern.
static
|
XUnit2 |
void |
Runs all xUnit.net v2 tests in the specified assemblies.
static
|
XUnit2 |
void |
Runs all xUnit.net tests in the specified assemblies.
static
|
XUnit2 |
void |
Runs all xUnit.net v2 tests in the specified assemblies.
static
|
XUnit2 |
void |
Runs all xUnit.net v2 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
|