imageIn Visual Studio 2010, the function Generate tests from Code is missing. It is used to generate tests from existing code.

Many have asked for it to come back. Visual Studio 2012 Right Click “Create Unit Test” is gone?

But now there is a solution to it. ALM Rangers has created an extension to Visual Studio 2012 with the name of Unit Test Generator.

You download and install it from the menu Tools – Extensions and Updates inside Visual Studio 2012. Search for Unit Test Generator,