OBSOLETE
use Fake.DotNet.Testing.NUnit instead
NUnit3Params
The NUnit 3 Console Parameters type. FAKE will use NUnit3Defaults for values not provided.
For reference, see: NUnit3 command line options
Record Fields
Record Field | Description |
Agents
Signature: int option
|
Number of agents that may be allowed to run simultaneously assuming you are not running inprocess. If not specified, all agent processes run tests at the same time, whatever the number of assemblies. This setting is used to control running your assemblies in parallel. |
Config
Signature: string
|
Name of a project configuration to load (e.g.: Debug) |
DisposeRunners
Signature: bool
|
Dispose each test runner after it has finished running its tests |
Domain
Signature: NUnit3DomainModel
|
Controls how NUnit loads tests in processes. See: NUnit3ProcessModel. |
ErrorDir
Signature: string
|
File path to contain error output from the tests. |
ErrorLevel
Signature: NUnit3ErrorLevel
|
Default: TestRunnerErrorLevel.Error |
Force32bit
Signature: bool
|
Run tests in a 32-bit process on 64-bit systems. |
Framework
Signature: NUnit3Runtime
|
Allows you to specify the version of the runtime to be used in executing tests. Default value is runtime under which the assembly was built. See: NUnit3Runtime. |
Labels
Signature: LabelsLevel
|
Specify whether to write test case names to the output. |
OutputDir
Signature: string
|
File path to contain text output from the tests. |
Params
Signature: string
|
A test parameter specified in the form name=value. Multiple parameters may be specified, separated by semicolons |
ProcessModel
Signature: NUnit3ProcessModel
|
Controls how NUnit loads tests in processes. See NUnit3ProcessModel |
ResultSpecs
Signature: string list
|
Output specs for saving the test results. Default value is TestResult.xml Passing empty list does not save any result (--noresult option in NUnit) For more information, see: NUnit3 command line options |
Seed
Signature: int
|
Set the random seed used to generate test cases |
ShadowCopy
Signature: bool
|
Tells .NET to copy loaded assemblies to the shadowcopy directory. |
SkipNonTestAssemblies
Signature: bool
|
Skips assemblies that do not contain tests or assemblies that contain the NUnit.Framework.NonTestAssemblyAttribute without raising an error |
StopOnError
Signature: bool
|
Causes execution of the test run to terminate immediately on the first test failure or error. |
TeamCity
Signature: bool
|
Turns on use of TeamCity service messages. |
Testlist
Signature: string
|
The name (or path) of a file containing a list of tests to run or explore, one per line. |
TimeOut
Signature: TimeSpan
|
The default timeout to be used for test cases. If any test exceeds the timeout value, it is cancelled and reported as an error. |
ToolPath
Signature: string
|
The path to the NUnit3 console runner: |
TraceLevel
Signature: NUnit3TraceLevel
|
Controls the trace logs NUnit3 will output, defaults to Off |
Where
Signature: string
|
An expression indicating which tests to run. It may specify test names, classes, methods, catgories or properties comparing them to actual values with the operators ==, !=, =~ and !~. See NUnit documentation for a full description of the syntax. |
Workers
Signature: int option
|
Specify the NUMBER of worker threads to be used in running tests. This setting is used to control running your tests in parallel and is used in conjunction with the Parallelizable Attribute. If not specified, workers defaults to the number of processors on the machine, or 2, whichever is greater. |
WorkingDir
Signature: string
|
Path of the directory to use for output files. |