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.NUnit instead

NUnitSequential

Contains tasks to run NUnit unit tests.

Functions and values

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

use Fake.DotNet.Testing.NUnit instead

Runs NUnit on a group of assemblies.

Parameters

  • setParams - Function used to manipulate the default NUnitParams value.
  • assemblies - Sequence of one or more assemblies containing NUnit unit tests.

Sample usage

1: 
2: 
3: 
4: 
Target "Test" (fun _ ->
    !! (testDir + @"\Test.*.dll") 
      |> NUnit (fun p -> { p with ErrorLevel = DontFailBuild })
)