VSTestAliases.

VSTest(ICakeContext, GlobPattern) Method

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)

Examples

VSTest("./Tests/*.UnitTests.dll");

Attributes

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

Parameters

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

Return Value

Type Description
void