NUnitAliases.

NUnit(ICakeContext, string) Method

Summary

Runs all NUnit unit tests in the assemblies matching the specified pattern.
Namespace
Cake.Common.Tools.NUnit
Containing Type
NUnitAliases

Syntax

[CakeMethodAlias]
public static void NUnit(this ICakeContext context, string pattern)

Examples

NUnit("./src/UnitTests/*.dll");

Attributes

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

Parameters

Name Type Description
context ICakeContext The context.
pattern string The pattern.

Return Value

Type Description
void