Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run an NUnit test without using the mouse?

When I want to run 1 test, I always have to right-click the method declaration and click "Run Test". Is there a way to do this without using the mouse?

like image 220
JoelFan Avatar asked Oct 13 '09 15:10

JoelFan


People also ask

What is used to run the NUnit test cases?

Now after installing the Nunit we need one more dll that needs to be installed in the project. The NUnit Test Adapter allows you to run NUnit tests inside Visual Studio.


1 Answers

See if there are any relevant entries from TestDriven.NET in Tools - Options - Keyboard (for instance, ReSharper adds "ReSharper.ReSharper_UnitTest_ContextRun", which allows to run a unit test method editor cursor is currently in) and bind that to some keyboard shortcut.

like image 100
Anton Gogolev Avatar answered Oct 11 '22 18:10

Anton Gogolev