Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

MSTestParams

Parameter type to configure the MSTest.exe.

Record Fields

Record FieldDescription
Category
Signature: string

Test category filter (optional). The test category filter consists of one or more test category names separated by the logical operators '&', '|', '!', '&!'. The logical operators '&' and '|' cannot be used together to create a test category filter.

Details
Signature: string list

List of additional test case properties to display, if they exist (optional)

ErrorLevel
Signature: ErrorLevel

Option which allow to specify if a MSTest error should break the build.

NoIsolation
Signature: bool

Run tests in isolation (optional).

ResultsDir
Signature: string

Test results directory (optional)

TestMetadataPath
Signature: string

Path to the Test Metadata file (.vsmdi) (optional)

Tests
Signature: string list

List of tests be run (optional)

TestSettingsPath
Signature: string

Path to the Test Settings file (.testsettings) (optional)

TimeOut
Signature: TimeSpan

A timeout for the test runner (optional)

ToolPath
Signature: string

Path to MSTest.exe

WorkingDir
Signature: string

Working directory (optional)