Summary
Runs all NUnit unit tests in the specified assemblies,
using the specified settings.
Syntax
[CakeMethodAlias]
public static void NUnit(this ICakeContext context, IEnumerable<string> assemblies, NUnitSettings settings)
Examples
var assemblies = new [] {
"UnitTests1.dll",
"UnitTests2.dll"
};
NUnit(assemblies, new NUnitSettings {
Timeout = 4000,
StopOnError = true
});
Attributes
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
assemblies |
IEnumerable<string> |
The assemblies. |
settings |
NUnitSettings |
The settings. |
Return Value