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

NUnitParams

The NUnit Console Parameters type. FAKE will use NUnitDefaults for values not provided.

For reference, see: NUnit-Console Command Line Options

Record Fields

Record FieldDescription
DisableShadowCopy
Signature: bool

Disables shadow copying of the assembly in order to provide improved performance.

Domain
Signature: NUnitDomainModel

See NUnitDomainModel.

DontTestInNewThread
Signature: bool

Suppresses use of a separate thread for running the tests and uses the main thread instead.

ErrorLevel
Signature: NUnitErrorLevel

Default: TestRunnerErrorLevel.Error

ErrorOutputFile
Signature: string

Redirects error output created by the tests from standard error output (console) to the file specified as value.

ExcludeCategory
Signature: string

The Categories to be excluded in a test run. Multiple categories may be specified on either option, by using commas to separate them.

Fixture
Signature: string

Default: ""

Framework
Signature: string

Allows you to specify the version of the runtime to be used in executing tests.

IncludeCategory
Signature: string

The Categories to be included in a test run. Multiple categories may be specified on either option, by using commas to separate them.

Out
Signature: string

Redirects output created by the tests from standard output (console) to the file specified as value.

OutputFile
Signature: string

The output path of the nUnit XML report.

ProcessModel
Signature: NUnitProcessModel

Controls how NUnit loads tests in processes. See: NUnitProcessModel.

ShowLabels
Signature: bool

Causes an identifying label to be displayed at the start of each test case.

SkipNonTestAssemblies
Signature: bool

Gives ability to not error if an assembly with no tests is passed into nunit

StopOnError
Signature: bool

Causes execution of the test run to terminate immediately on the first test failure or error.

TimeOut
Signature: TimeSpan

The default timeout to be used for test cases. If any test exceeds the timeout value, it is cancelled and reported as an error.

ToolName
Signature: string

NUnit console runner name. ( nunit-console.exe)

ToolPath
Signature: string

The path to the NUnit console runner: nunit-console.exe

WorkingDir
Signature: string

The working directory.

XsltTransformFile
Signature: string

The path to a custom XSLT transform file to be used to process the XML report.