How Do I Install Nunit

Navigate to Tools -> NuGet Package Manager -> Manager NuGet Packages for Solution. Search for NUnit & NUnit Test Adapter in the Browse tab. Click on Install and press OK to confirm the installation. With this installation, the NUnit framework can be used with C#.

How do I install NUnit on Windows?

  1. Download NUnit.Console-*.msi package and install.
  2. Add to system PATH variable this: C:\Program Files (x86)\NUnit.org\nunit-console.
  3. Open command line.
  4. Type: $ nunit3-console test.dll.

Where is NUnit console exe?

Make sure that the path to nunit-console.exe is in your PATH on whatever machine you run this nant script on. to check your path, in cmd (command prompt) you can type echo %PATH% , in powershell you can type $env:PATH .

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest