This is part of the Fake.DotNet.Testing.XUnit2 module.
XUnit2
Contains tasks to run xUnit v2 unit tests.
Nested types and modules
Type | Description |
CollectionConcurrencyMode |
The collection concurrency mode used by the xUnit2 runner. |
ParallelMode |
The parallelization mode of the xUnit2 runner. |
XUnit2Params |
The xUnit2 parameter type. |
Functions and values
Function or value | Description | ||
buildArgs parameters assemblies
Signature: parameters:XUnit2Params -> assemblies:seq<string> -> string
|
Builds the command line arguments from the given parameter record and the given assemblies. |
||
run setParams assemblies
Signature: setParams:(XUnit2Params -> XUnit2Params) -> assemblies:seq<string> -> unit
|
Runs xUnit v2 unit tests in the given assemblies via the given xUnit2 runner. Will fail if the runner terminates with non-zero exit code. The xUnit2 runner terminates with a non-zero exit code if any of the tests in the given assembly fail. Parameters
Sample usage
union case Option.Some: Value: 'T -> Option<'T>
|
||
XUnit2Defaults
Signature: XUnit2Params
|
The xUnit2 default parameters. Defaults
|