Tuesday, September 30, 2014

"Create Unit Test..." is missing in VS2013

The Create Unit Test option in the context menu is missing in Visual Studio 2013.

Microsoft removed that because it was tightly coupled to their unit testing product, and they wanted to open up VS to external unit testing products.


1. Tools > Extensions and Updates

2. Click Online

3. Search for Unit Test Generator

4. Click on it, download it, and install it

warning: This currently only works for public methods, so it doesn't help for internals. How I'm using it generating a template, and then modifying it so it works with the internal class.


No comments:

Post a Comment