Run a NUnit test without using a mouse?

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

+6
unit-testing visual-studio nunit keyboard-shortcuts
source share
3 answers
-one
source share

See if there are any relevant entries from TestDriven.NET in Tools - Options - Keyboard (for example, ReSharper adds "ReSharper.ReSharper_UnitTest_ContextRun", which allows you to start the unit test method editor cursor now) and link this to some keyboard shortcuts.

+2
source share

If you go to Tool> Options> Keyboard, you can create a new keyboard shortcut to run the unit test for a method or a full set. Just take a command from the list and assign a key.

0
source share

All Articles