MSTestAliases.

MSTest(ICakeContext, GlobPattern, MSTestSettings) Method

Summary

Runs all MSTest unit tests in the assemblies matching the specified pattern.
Namespace
Cake.Common.Tools.MSTest
Containing Type
MSTestAliases

Syntax

[CakeMethodAlias]
public static void MSTest(this ICakeContext context, GlobPattern pattern, MSTestSettings settings)

Examples

MSTest("./Tests/*.UnitTests.dll", new MSTestSettings() { NoIsolation = false });

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
pattern GlobPattern The pattern.
settings MSTestSettings The settings.

Return Value

Type Description
void