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

OBSOLETE

use Fake.DotNet.Testing.XUnit2 instead (yes please migrate to xunit2)

XUnitParams

DEPRECATED. The xUnit parameter type

Record Fields

Record FieldDescription
ConfigFile
Signature: string

The file name of the config file (optional).

ErrorLevel
Signature: XUnitErrorLevel

Test runner error level. Option which allows to specify if an xUnit error should break the build.

ExcludeTraits
Signature: (string * string) option

Exclude named traits with comma separated values

HtmlOutput
Signature: bool

If set to true a HTML output file will be generated.

IncludeTraits
Signature: (string * string) option

Include named traits with comma separated values

NUnitXmlOutput
Signature: bool

If set to true a HTML output file will be generated in NUnit format.

OutputDir
Signature: string

The output directory. It's the current directoy if nothing else is specified.

ShadowCopy
Signature: bool

If set to true xUnit will run in ShadowCopy mode.

TimeOut
Signature: TimeSpan

If the timeout is reached the xUnit task will be killed. Default is 5 minutes.

ToolPath
Signature: string

The path to the xunit.console.clr4.exe - FAKE will scan all subfolders to find it automatically.

Verbose
Signature: bool

If set to true xUnit will generate verbose output.

WorkingDir
Signature: string

The working directory (optional).

XmlOutput
Signature: bool

If set to true XML output will be generated.