Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
From the author of

Running Tests

Running the tests couldn't be easier. Run the NUnit GUI (or console version) and open the assembly containing the test fixture. Click the Run button. Tests that return Green passed, and Red indicates failed test (see Figure 2).After you change your code, simply return to NUnit and run the tests again.

Figure 2Figure 2 Green indicates a passed test, and red indicates a failed test.

The console version of NUnit can be managed with a .cmd or .bat file, running tests at some scheduled time such as overnight or as part of a build process.

  • + Share This
  • 🔖 Save To Your Account