MSpecAliases.

MSpec(ICakeContext, string, 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, string 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 string The pattern.
settings MSpecSettings The settings.

Return Value

Type Description
void