MSpecAliases.

MSpec(ICakeContext, GlobPattern, MSpecSettings) Method

Summary

Runs all MSpec tests in the assemblies matching the specified pattern.
Namespace
Cake.Common.Tools.MSpec
Containing Type
MSpecAliases

Syntax

[CakeMethodAlias]
public static void MSpec(this ICakeContext context, GlobPattern pattern, MSpecSettings settings)

Examples

MSpec("./src/**/bin/Release/*.Tests.dll",
     new MSpecSettings {
        Parallelism = ParallelismOption.All,
        HtmlReport = true,
        NoAppDomain = true,
        OutputDirectory = "./build"
    });

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 MSpecSettings The settings.

Return Value

Type Description
void