Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

MSpecParams

Parameter type to configure the MSpec runner.

Record Fields

Record FieldDescription
ErrorLevel
Signature: TestRunnerErrorLevel

An error level setting to specify whether a failed test should break the build

ExcludeTags
Signature: string list

Tests with theses tags are ignored by MSpec

HtmlOutputDir
Signature: string

Output directory for html reports (optional).

IncludeTags
Signature: string list

Tests with theses tags are included by MSpec

Silent
Signature: bool

Can be used to run MSpec in silent mode.

TimeOut
Signature: TimeSpan

A timeout for the test runner

ToolPath
Signature: string

FileName of the mspec runner exe. Use mspec-clr4.exe if you are on .NET 4.0 or above.

WorkingDir
Signature: string

Working directory (optional)

XmlOutputPath
Signature: string

Output file path for xml reports (optional).