Navigation: Actions > Test Driven Development >
This action executes NUnit unit tests. The command-line application (nunit-console.exe or nunit3-console.exe) is invoked. The action provides ways to fully configure the various options available for the console version of NUnit. Download and install NUnit (for Windows via the .msi file) before using.
|•||This action has been tested with NUnit Console version 2.2 through 3.9 and may work with other versions as well.|
|•||The clr.bat file installed with NUnit 2.4.8 and earlier does not return the exit code of the test result, but rather the exit code of later commands in the batch file. A modified version of clr.bat is available in the Tools directory in the VisBuildPro install path (if Full installation is selected during installation). Copy this file to your NUnit bin path for proper success/failure detection of NUnit tests.|
|•||See the TDD.bld sample for a project utilizing this action.|