How do I use NUnit 3.2? I can't find a tutorial specifically for versions >= 3
, and the other ones I found lead the problems. I've been following this tutorial.
First off, the tutorial says that from VS you can go to Test -> Windows -> Test Explorer
to run your tests. However, this didn't seem to detect any tests I had in my class library project, even after building.
Second, there's no GUI for v3, so that's out of the question.
Third, the tutorial mentions the console version of NUnit. To be clear, I installed NUnit Console Version 3
from NuGet. The tutorial says it's name is nunit-console.exe
, and it's located in the bin
folder of the location you installed NUnit
. Well it appears that v3 and higher don't create a bin
folder, however the nunit-console.exe
doesn't run. Double clicking on it brings up the console for a fraction of a second, then closes it immediately. There's also an nunit-agent.exe
file and an nunit-agent-x86.exe
file, but both of them crash upon running so I assumed I should just leave them alone.
Now I'm stuck. How exactly does one use NUnit 3.2?
Aucun commentaire:
Enregistrer un commentaire