OBSOLETE
use Fake.DotNet.Testing.XUnit2 instead (yes please migrate to xunit2)
XUnit
Contains tasks to run xUnit v1 unit tests.
Nested types and modules
Type | Description |
XUnitParams |
OBSOLETEuse Fake.DotNet.Testing.XUnit2 instead (yes please migrate to xunit2) The xUnit parameter type. |
Functions and values
Function or value | Description | ||
xUnit setParams assemblies
Signature: setParams:(XUnitParams -> XUnitParams) -> assemblies:seq<string> -> unit
Attributes: [<Obsolete("use Fake.DotNet.Testing.XUnit2 instead (yes please migrate to xunit2)")>] |
OBSOLETEuse Fake.DotNet.Testing.XUnit2 instead (yes please migrate to xunit2) 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
Attributes: [<Obsolete("use Fake.DotNet.Testing.XUnit2 instead (yes please migrate to xunit2)")>] |
OBSOLETEuse Fake.DotNet.Testing.XUnit2 instead (yes please migrate to xunit2) The xUnit default parameters. Defaults
|
||
xUnitSingle setParams assembly
Signature: setParams:(XUnitParams -> XUnitParams) -> assembly:string -> unit
Attributes: [<Obsolete("use Fake.DotNet.Testing.XUnit2 instead (yes please migrate to xunit2)")>] |
OBSOLETEuse Fake.DotNet.Testing.XUnit2 instead (yes please migrate to xunit2) 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
|