NUnit3Aliases.

NUnit3(ICakeContext, IEnumerable<FilePath>) Method

Summary

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

Syntax

[CakeMethodAlias]
public static void NUnit3(this ICakeContext context, IEnumerable<FilePath> assemblies)

Examples

var testAssemblies = GetFiles("./src/**/bin/Release/*.Tests.dll");
NUnit3(testAssemblies);

Attributes

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

Parameters

Name Type Description
context ICakeContext The context.
assemblies IEnumerable<FilePath> The assemblies.

Return Value

Type Description
void