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

XUnit2Params

The xUnit2 parameter type.

Record Fields

Record FieldDescription
Class
Signature: string option

Run xUnit against a specific class

ErrorLevel
Signature: TestRunnerErrorLevel

Test runner error level.

ExcludeTraits
Signature: (string * string) list

List of traits to exclude.

ForceAppVeyor
Signature: bool

Forces AppVeyor CI mode (normally auto-detected).

ForceTeamCity
Signature: bool

Forces TeamCity mode (normally auto-detected).

HtmlOutputPath
Signature: string option

The output path of the xUnit HTML report.

IncludeTraits
Signature: (string * string) list

List of traits to include.

MaxThreads
Signature: CollectionConcurrencyMode

The xUnit thread limiting strategy.

Method
Signature: string option

Run xUnit against a specific method

Namespace
Signature: string option

Run xUnit against a specific namespace

NoAppDomain
Signature: bool

Do not use app domains to run test code.

NUnitXmlOutputPath
Signature: string option

The output path of the NUnit XML report.

Parallel
Signature: ParallelMode

The xUnit parallelization mode.

ShadowCopy
Signature: bool

Run xUnit with shadow copy enabled.

Silent
Signature: bool

Run xUnit without reporting test progress.

TimeOut
Signature: TimeSpan

Maximum time to allow xUnit to run before being killed.

ToolPath
Signature: string

The path to the xUnit console runner: xunit.console.exe

Wait
Signature: bool

Waits for input after completion.

WorkingDir
Signature: string option

The working directory for running the xunit console runner.

XmlOutputPath
Signature: string option

The output path of the xUnit XML report.

XmlV1OutputPath
Signature: string option

The output path of the xUnit XML report (in the xUnit v1 style).