Eduardo Corona
Eduardo Corona

Reputation: 1332

Where is the DLL with test to run with the nunit3 console generated?

I created a project in Visual Studio for unit testing using the nuget package of nunit. The test runs well in Visual Studio using the test explorer, but i Need to run them using the nunit3 console.

My project is very simple I:

But I need to run my test using the nunit3-console prompt, So, How Can I generate (Or Where Is) a DLL file to run test from the console o using nunit-gui?

I search inside C:\Users\Manuel\source\repos\ConsoleAppForNunit\ConsoleAppForNunit\bin\Debug but there is not a suitable .DLL

There is a Screenshot of that path: enter image description here

Upvotes: 1

Views: 2201

Answers (1)

Charlie
Charlie

Reputation: 13736

From what you describe, you have never installed the NUnit Console application. You can find it in various places...

  1. If you use chocolatey, use the choco command-line utility to install nunit-consolerunner.

  2. If you prefer to have it installed in a project directory, install NUnit.ConsoleRunner from nuget.org. You can do this within visual studio.

  3. You can download the files from the project site at https://github.com/nunit/nunit-console

Upvotes: 1

Related Questions