Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2012 - add test missing?

In VS 2010, I could right click a method and have MSTest create a unit test for me. Where is this feature in VS2012 pro?

like image 665
O.O Avatar asked Sep 01 '12 16:09

O.O


1 Answers

The command is still there. go to Tools->Options->Environment->Keyboard. Search the shortcuts for createunittests. The appropriate command comes up in the dialog box. simply assign it a keyboard shortcut and its ready to go. Works exactly like the VS2010 once you use the shortcut you created.

like image 99
SSaurus Avatar answered Oct 18 '22 10:10

SSaurus