Parallel

Contains tasks to run NUnit unit tests in parallel.

Functions and values

Function or valueDescription
run setParams assemblies
Signature: setParams:(NUnitParams -> NUnitParams) -> assemblies:seq<string> -> unit

Runs NUnit in parallel 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")
      |> NUnitParallel (fun p -> { p with ErrorLevel = DontFailBuild })
)