Summary
Contains functionality related to running NUnit 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 NUnitSettings
class:
#tool "nuget:?package=NUnit.Runners&version=2.6.4"
- Namespace
- Cake
.Common .Tools .NUnit - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["NUnitAliases"]
class Type type-node
Syntax
[CakeAliasCategory("NUnit")]
public static class NUnitAliases
Attributes
Type | Description |
---|---|
Cake |
An attribute used for documentation of alias methods/properties. |
Methods
Name | Value | Summary |
---|---|---|
NUnit |
void |
Runs all NUnit unit tests in the assemblies matching the specified pattern,
using the specified settings.
static
|
NUnit |
void |
Runs all NUnit unit tests in the assemblies matching the specified pattern.
static
|
NUnit |
void |
Runs all NUnit unit tests in the specified assemblies,
using the specified settings.
static
|
NUnit |
void |
Runs all NUnit unit tests in the specified assemblies.
static
|
NUnit |
void |
Runs all NUnit unit tests in the specified assemblies,
using the specified settings.
static
|
NUnit |
void |
Runs all NUnit unit 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
|