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
Common
Contains types and utility functions relaited to running NUnit unit tests.
Nested types and modules
Type | Description |
NUnitDomainModel |
The /domain option controls of the creation of AppDomains for running tests. See NUnit-Console Command Line Options |
NUnitErrorLevel |
Option which allows to specify if a NUnit error should break the build. |
NUnitParams |
The NUnit Console Parameters type. FAKE will use NUnitDefaults for values not provided. For reference, see: NUnit-Console Command Line Options |
NUnitProcessModel |
Process model for nunit to use, see Project Editor |
Functions and values
Function or value | Description |
buildArgs parameters assemblies
Signature: parameters:NUnitParams -> assemblies:seq<string> -> string
|
Builds the command line arguments from the given parameter record and the given assemblies. |
NUnitDefaults
Signature: NUnitParams
|
The NUnitParams default parameters. Defaults
|
Active patterns
Active pattern | Description |
( |OK|TestsFailed|FatalError| )(...)
Signature: errorCode:int -> Choice<unit,unit,string>
|
NUnit console returns negative error codes for errors and sum of failed, ignored and exceptional tests otherwise. Zero means that all tests passed. |