MSpecAliases.

MSpec(ICakeContext, IEnumerable<FilePath>) Method

Summary

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

Syntax

[CakeMethodAlias]
public static void MSpec(this ICakeContext context, IEnumerable<FilePath> assemblies)

Examples

var testAssemblies = GetFiles("./src/**/bin/Release/*.Tests.dll");
MSpec(testAssemblies);

Attributes

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

Parameters

Name Type Description
context ICakeContext The context.
assemblies IEnumerable<FilePath> The assemblies.

Return Value

Type Description
void