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:
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.
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.
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.
If “Clear results when tests change” 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 this to precede text in the output window with the name of the test that produced it.
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.