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