Summary
Runs all NUnit unit tests in the specified assemblies.
- Namespace
- Cake
.Common .Tools .NUnit - Containing Type
- NUnitAliases
Syntax
[CakeMethodAlias]
public static void NUnit(this ICakeContext context, IEnumerable<string> assemblies)
Examples
var assemblies = new [] {
"UnitTests1.dll",
"UnitTests2.dll"
};
NUnit(assemblies);
Attributes
Type | Description |
---|---|
Cake |
An attribute used to mark script method aliases. |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
assemblies | IEnumerable |
The assemblies. |
Return Value
Type | Description |
---|---|
void |