This is part of the Fake.DotNet.Testing.VSTest module.

VSTestParams

Parameter type to configure VSTest.Console.exe

Record Fields

Record FieldDescription
EnableCodeCoverage
Signature: bool

Enables code coverage collection (optional).

ErrorLevel
Signature: ErrorLevel

Error level for controlling how VSTest failures should break the build (optional).

Framework
Signature: string

Target .NET framework version to use for test execution (optional).

InIsolation
Signature: bool

Run the tests in an isolated process (optional).

ListDiscoverers
Signature: bool

List installed test discoverers (optional).

ListExecutors
Signature: bool

List installed test executors (optional).

ListLoggers
Signature: bool

List installed loggers (optional).

ListSettingsProviders
Signature: bool

List installed settings providers (optional).

ListTestsPath
Signature: string

List discovered tests from the given container path (optional).

Logger
Signature: string

The logger to use for test results (optional).

Platform
Signature: string

Target platform architecture for test execution (optional). Valid options include "x86", "x64" and "ARM".

SettingsPath
Signature: string

Path to the run settings file to run tests with additional settings such as data collectors (optional).

TestAdapterPath
Signature: string

Path to test adapter e.g. xUnit (optional)

TestCaseFilter
Signature: string

Run tests that match the given expression (optional). Cannot be used with the Tests argument

Tests
Signature: seq<string>

Names of the tests that should be run (optional).

TimeOut
Signature: TimeSpan

A timeout for the test runner (optional).

ToolPath
Signature: string

Path to VSTest.Console.exe (optional). By default the default install location is searched.

UseVsixExtensions
Signature: bool

Use installed VSIX extensions in VSTest (optional).

WorkingDir
Signature: string

Working directory (optional).