Summary
Runs all VSTest unit tests in the assemblies matching the specified pattern.
- Namespace
- Cake
.Common .Tools .VSTest - Containing Type
- VSTestAliases
Syntax
[CakeMethodAlias]
public static void VSTest(this ICakeContext context, GlobPattern pattern, VSTestSettings settings)
Examples
VSTest("./Tests/*.UnitTests.dll", new VSTestSettings() { Logger = "trx" });
Attributes
| Type | Description |
|---|---|
| Cake |
An attribute used to mark script method aliases. |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| pattern | GlobPattern | The pattern. |
| settings | VSTestSettings | The settings. |
Return Value
| Type | Description |
|---|---|
| void |
