Summary
Runs all MSTest unit tests in the specified assemblies.
- Namespace
- Cake
.Common .Tools .MSTest - Containing Type
- MSTestAliases
Syntax
[CakeMethodAlias]
public static void MSTest(this ICakeContext context, IEnumerable<FilePath> assemblyPaths, MSTestSettings settings)
Examples
var paths = new List<FilePath>() { "./assemblydir1", "./assemblydir2" };
MSTest(paths, new MSTestSettings() { NoIsolation = false });
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 | MSTestSettings | The settings. |
Return Value
Type | Description |
---|---|
void |