Monday, March 3, 2014

Visual studio 2012 and 2013 Create Unit Test Context Menu

In visual studio there was a handy context menu to create unit tests for you without a bunch of boiler plate coding.

In visual studio 2012 and 2013 this is missing.

This visual studio plugin build by the ALM rangers works great.

http://visualstudiogallery.msdn.microsoft.com/45208924-e7b0-45df-8cff-165b505a38d7

To install this in visual studio go to the menu

1. Tools -> Extensions and updates
2. search for unit test
3. click on and install the unit test.  you will need to restart visual studio.


4. now you can right click on your method and create a shell of a unit test.

5. you will get a bunch of cool ways to customize and create your new unit test.



No comments:

Post a Comment