NUnit3Aliases.

NUnit3(ICakeContext, IEnumerable<string>, NUnit3Settings) Method

Summary

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

Syntax

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

Examples

NUnit3(new [] { "./src/Example.Tests/bin/Release/Example.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.
assemblies IEnumerable<string> The assemblies.
settings NUnit3Settings The settings.

Return Value

Type Description
void