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

NUnit3

Nested types and modules

TypeDescription
LabelsLevel
OBSOLETE

use Fake.DotNet.Testing.NUnit instead

The --labels option in NUnit3 console runner. Specify whether to write test case names to the output.

NUnit3DomainModel
OBSOLETE

use Fake.DotNet.Testing.NUnit instead

The --domain option controls of the creation of AppDomains for running tests. See NUnit-Console Command Line Options

NUnit3ErrorLevel
OBSOLETE

use Fake.DotNet.Testing.NUnit instead

Option which allows to specify if a NUnit error should break the build.

NUnit3Params
OBSOLETE

use Fake.DotNet.Testing.NUnit instead

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

For reference, see: NUnit3 command line options

NUnit3ProcessModel
OBSOLETE

use Fake.DotNet.Testing.NUnit instead

Process model for NUnit 3 to use.

NUnit3Runtime
OBSOLETE

use Fake.DotNet.Testing.NUnit instead

The --framework option in running NUnit 3. There are three kinds - VXY, which means either .NET framework or Mono, NetXY (use .NET framework with given version) and MonoXY (Mono framework with given version). You can use Net or Mono to let NUnit select the version. You can pass any value using Other.

NUnit3TraceLevel
OBSOLETE

use Fake.DotNet.Testing.NUnit instead

The --trace option in NUnit3 console runner. Specifies the internal nunit runner log level.

Functions and values

Function or valueDescription
buildNUnit3Args parameters assemblies
Signature: parameters:NUnit3Params -> assemblies:seq<string> -> string
Attributes:
[<Obsolete("use Fake.DotNet.Testing.NUnit instead")>]
OBSOLETE

use Fake.DotNet.Testing.NUnit instead

NUnit3 setParams assemblies
Signature: setParams:(NUnit3Params -> NUnit3Params) -> assemblies:seq<string> -> unit
Attributes:
[<Obsolete("use Fake.DotNet.Testing.NUnit instead")>]
OBSOLETE

use Fake.DotNet.Testing.NUnit instead

NUnit3Defaults
Signature: NUnit3Params
Attributes:
[<Obsolete("use Fake.DotNet.Testing.NUnit instead")>]
OBSOLETE

use Fake.DotNet.Testing.NUnit instead

The NUnit3Params default parameters.

  • ToolPath - The nunit-console.exe path if it exists in tools/Nunit/.
  • Testlist - ""
  • Where - ""
  • Config - ""
  • ProcessModel - DefaultProcessModel
  • Agents - None
  • Domain - DefaultDomainModel
  • Framework - ""
  • Force32bit - false
  • DisposeRunners - false
  • Timeout - 2147483647 milliseconds
  • Seed - -1 (negative seed is ignored by NUnit and is not sent to it)
  • Workers - None
  • StopOnError - false
  • WorkingDir - ""
  • OutputDir - ""
  • ErrorDir - ""
  • ResultSpecs - "TestResult.xml"
  • ShadowCopy - false
  • TeamCity - false
  • ErrorLevel - Error
  • TraceLevel - Default (By default NUnit3 sets this to off internally)
  • SkipNonTestAssemblies - false
  • Params - "" ## Defaults