Legacy Documentation. View NUnit 3 Documentation

Options Dialog

The Options Dialog is displayed using the Tools | Options menu item and allows the user to control some aspects of NUnit's operation.

Display Tab

Recent Files

The text box allows the user to choose the number of entries to display in the recent files list. If Load most recent project at startup is checked, the GUI will load the last file opened unless it is run with a specific filename or with the /noload parameter.

Tree View

The list box allows selecting the degree of expansion of the tree when tests are loaded:

Expand - expands all tests

Collapse - collapses all tests

Hide Tests - expands all suites except for the fixtures themselves.

Auto - selects one of the above based on the space available for the tree display.

If Clear results when reloading is checked, an automatic or manual reload will reinitialize all test nodes in the tree (grey display) - if it is not checked, result information for tests that do not seem to have changed will be retained.

Test Output

Check Label Test Cases in Console output to precede text in the output window with the name of the test that produced it.

Check Display Failure ToolTips to display the tip window over the Errors and Failures display and the stack trace. Clear it if you prefer not to see the tip window.

Tests Tab

Assembly Reload

If Reload before each test run is checked, a reload will occur whenever the run button is pressed whether the assemblies appear to have changed or not.

If Reload when test assembly changes is checked, assemblies are watched for any change and an automatic reload is initiated. This item is disabled on Windows 98 or ME.

Visual Studio

If Enable Visual Studio Support is checked, the user will be able to open Visual Studio projects and solutions and add Visual Studio projects to existing test projects.