Summary
Runs all xUnit.net tests in the specified assemblies.
- Namespace
- Cake
.Common .Tools .XUnit - Containing Type
- XUnit2Aliases
Syntax
[CakeMethodAlias]
public static void XUnit2(this ICakeContext context, IEnumerable<FilePath> assemblies)
Examples
var testAssemblies = GetFiles("./src/**/bin/Release/*.Tests.dll");
XUnit2(testAssemblies);
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 |