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.

 

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.

 

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

 

No shadow copy: Disables shadow copying of the assembly in order to provide improved performance.

 

Do not convert to short filenames: If checked, when clr.bat is invoked to run tests (the Framework field is provided above), filenames will not be converted to short filenames.  NUnit versions prior to v2.4 may require this option to be unchecked, v2.4 and later may require this option to be checked (if "Could not load file or assembly" errors occur).

 

Show logo: Displays copyright information at start if checked.

 

Additional options: Used to specify any additional NUnit command-line options.

 

NUnit executable: Overrides the default location of NUnit-console.exe (optional).  Useful if multiple versions are installed.