Legacy Documentation. View NUnit 3 Documentation

Project Editor

The Project Editor is displayed through the Project | Edit menu item and allows creating or modifying NUnit test projects. It should be noted that a Test Project is active whenever any tests have been loaded, even if no project was explicitly created or referenced. In the case of an assembly being loaded, an internal wrapper project is created. This allows the user to change settings and save the project directly without needing to perform any extra steps. The editor consists of a common area and two tabs, as seen in the image below.

Common Area

The common area of the Project Editor contains a label showing the full path to the project file, a dropdown combo box allowing selection of the configuration to be edited and a button, which opens the Configuration Editor.

General Tab

The General tab allows setting a number of options pertaining to the selected configuration, all of which will be stored in the NUnit project file as attributes of the xml node.


The ApplicationBase defaults to the directory containing the project file. The user may set it to another path provided that path is contained under the project file directory.

Configuration File Name

The configuration file defaults to the name of the test project with the extension changed from .nunit to .config. The user may substitute another name.


By default, the PrivateBinPath is generated from the assembly locations specified on the Assemblies Tab. For those applications requiring a different level of control, it may be specified manually or using this editor or placed in the configuration file.

Assemblies Tab

The assemblies tab contains the list of assemblies that form part of this test project. A checkbox is used to indicate which assemblies contain tests. This allows use of the automatically generated private bin path by including assemblies that the tests depend upon but leaving the box unchecked. The GUI does not attempt to load these unchecked assemblies but does use their locations in generating the PrivateBinPath and also watches them for changes, if automatic reloading of tests is enabled.

Note: Although the dialog shows the location of assemblies as absolute paths, they are always persisted in the NUnit project file as paths relative to the application base. This allows moving projects as a whole to a different directory location.

Add Assembly

Opens a dialog allowing adding an assembly to this configuration.

Add VS Project

Opens a dialog allowing selection of a VS project to be added to this project.

Edit Path

Opens a dialog allowing the user to change the path to the selected assembly in this configuration.

Remove Assembly

Removes the selected assembly from this configuration.