Navigation:  Actions > Test Driven Development > NUnit >

NUnit Action Options Tab

Previous pageReturn to chapter overviewNext page

This tab of the NUnit action configures additional options.

 

Processes: Controls how NUnit loads tests in processes.

 

Timeout: The default timeout to be used for test cases in this run. If any test exceeds the timeout value, it is canceled and reported as an error. If you do not use this option, no timeout is set and tests may run for any amount of time.

 

Framework to run under: Specifies the .NET Framework version to run tests under (optional).  When only one version of the CLR is used, the config files for nunit-console may be set up to specify that version. As a more convenient alternative when switching CLRs, specify the CLR version here.

 

Note: This option requires NUnit v2.2.4 or later.

 

Use of AppDomains: Controls the creation of AppDomains for running tests:

Default

Use multiple domains if multiple assemblies are listed, otherwise a single domain is used.

None

No domain is created (the tests are run in the primary domain). This normally requires copying the NUnit assemblies into the same directory as your tests.

Single

All tests are run in a single domain.  This is how NUnit worked prior to version 2.4.

Multiple

A separate test domain is created for each assembly.

 

Note: This option requires NUnit v2.4 or later.

 

Random seed to generate test cases: Specifies the seed.

 

Number of worker threads: Number of threads.

 

Do not use separate thread: Suppresses use of a separate thread for running the tests and uses the main thread instead.

 

Note: This option does not apply to NUnit v3 and later.