Summary
Runs all VSTest unit tests in the specified assemblies.
- Namespace
- Cake
.Common .Tools .VSTest - Containing Type
- VSTestAliases
Syntax
[CakeMethodAlias]
public static void VSTest(this ICakeContext context, IEnumerable<FilePath> assemblyPaths, VSTestSettings settings)
Examples
var paths = new List<FilePath>() { "./assemblydir1", "./assemblydir2" };
VSTest(paths, new VSTestSettings() { InIsolation = true });
Attributes
Type | Description |
---|---|
Cake |
An attribute used to mark script method aliases. |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
assemblyPaths | IEnumerable |
The assembly paths. |
settings | VSTestSettings | The settings. |
Return Value
Type | Description |
---|---|
void |