XUnit
Contains tasks to run xUnit v1 unit tests.
Nested types and modules
Type | Description |
XUnitParams |
The xUnit parameter type. |
Functions and values
Function or value | Description | ||
xUnit setParams assemblies
Signature: setParams:(XUnitParams -> XUnitParams) -> assemblies:seq<string> -> unit
|
Runs xUnit unit tests in the given assemblies via the given xUnit runner. Will fail if the runner terminates with non-zero exit code for any of the assemblies. The xUnit runner terminates with a non-zero exit code if any of the tests in the given assembly fail. This task runs xUnit once per assembly specified, prepending the assembly file name to the output report filenames to ensure that there is a unique report file for each assembly tested. Parameters
Sample usageThe sample below will generate HTML reports in
|
||
XUnitDefaults
Signature: XUnitParams
|
The xUnit default parameters. Defaults
|
||
xUnitSingle setParams assembly
Signature: setParams:(XUnitParams -> XUnitParams) -> assembly:string -> unit
|
Runs xUnit unit tests in the given assemblies via the given xUnit runner. Will fail if the runner terminates with non-zero exit code for any of the assemblies. The xUnit runner terminates with a non-zero exit code if any of the tests in the given assembly fail. Parameters
Sample usage
|