NUnit3Aliases.

NUnit3(ICakeContext, GlobPattern, NUnit3Settings) Method

Summary

Runs all NUnit unit tests in the assemblies matching the specified pattern, using the specified settings.
Namespace
Cake.Common.Tools.NUnit
Containing Type
NUnit3Aliases

Syntax

[CakeMethodAlias]
public static void NUnit3(this ICakeContext context, GlobPattern pattern, NUnit3Settings settings)

Examples

NUnit3("./src/**/bin/Release/*.Tests.dll", new NUnit3Settings {
    NoResults = true
    });

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
pattern GlobPattern The pattern.
settings NUnit3Settings The settings.

Return Value

Type Description
void