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)

XUnit2Params

DEPRECATED. The xUnit parameter type

Record Fields

Record FieldDescription
Appveyor
Signature: bool

forces AppVeyor CI mode (normally auto-detected)

ConfigFile
Signature: string

The file name of the config file (optional).

ErrorLevel
Signature: XUnit2ErrorLevel

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

output results to HTML file

IncludeTraits
Signature: (string * string) option

Include named traits with comma separated values

MaxThreads
Signature: int

maximum thread count for collection parallelization 0 - run with unbounded thread count

0 - limit task thread pool size to 'count'

OutputDir
Signature: string

output directory

Parallel
Signature: ParallelOption

set parallelization based on option none - turn off all parallelization collections - only parallelize collections assemblies - only parallelize assemblies all - parallelize assemblies & collections

ShadowCopy
Signature: bool

Shadow copy

Silent
Signature: bool

Output running test count

Teamcity
Signature: bool

forces TeamCity mode (normally auto-detected)

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.exe - FAKE will scan all subfolders to find it automatically.

Wait
Signature: bool
WorkingDir
Signature: string

The working directory (optional).

XmlOutput
Signature: bool

output results to xUnit.net v2 style XML file

XmlOutputV1
Signature: bool

output results to xUnit.net v1 style XML file