Add "Create Unit Tests" menu option back!
Add "Create Unit Tests" menu option to automatically create unit test skeletons for methods and namespaces as it was in VS 2010!
ALM Rangers have started the project: Better Unit Testing with Test Code Generation to address this UserVoice idea.
61 comments
-
Ed Chavez
commented
@kohler: Nope, that's not exactly correct. While you can get the menu thing working it doesn't really work as it used to identically. Even with the hoops described. Yes, it will work, sometimes - of particular note is how it has issues with InternalsVisibleTo....
-
Kohler
commented
-
Carl
commented
Please, very unhappy
-
Jared
commented
GIVE IT BACK!
-
Ed Chavez
commented
Bonehead move IMHO. Sure I've learned how to create unit tests from documentation and through a series of StackOverflow and Google searches was able to get the contextual menu working or rather, partially/buggy way. One thing that is inconsistent is the InternalsVisibleTo attribute. It works with the new model, but the contextual (right click + create unit test) doesn't - it no longer identifies/finds this setting - either in source (class) or assemblyinfo config file.
So sure, I've gotten the "new" model working, *manually*. Yes, I know..."new" and "manual", awesome step forward...takes the cake for contradictory statements....
Spent max votes (3) on this.
-
Anonymous
commented
This is a great feature, would like to see it add back into VS2012.
-
vencin chen
commented
Please add this feature back into VS2012.
-
Jason Witty-Akhavan commented
Please add this feature back into VS2012.
-
Michael Freidgeim commented
Could you provide any links describing ALM ranger's project: Better Unit Testing with Test Code Generation?
-
Dawa
commented
Finally, a new project for Better Unit Testing! Hope to see this in the next update!
-
Anonymous
commented
Come on! Reenable this!
-
Anonymous
commented
Removing this great function was the was among the daftest things I've experienced from Microsoft.
-
Anonymous
commented
It was such a good feature, we need it back please!
-
Aaron Havens
commented
It would be nice to have this back in by default.
-
Dawa
commented
You can get it back here.
http://dl.my/2013/enable-create-unit-tests-on-visual-studio-2012/ -
whoever
commented
Sounds like it's just a matter of time before M$ push everyone over the cliff and heading for the Linux/Java/Eclipse world. If Steve hasn't kill Bill, Ballmer will surely finish the Jobs.
-
Paul
commented
This is driving me crazy, and the keyboard shortcut workaround mentioned previously for some reason stopped working for me and I can't get it to work again. Please just put it back already.
-
Brian Swiger
commented
I wouldn't mind having this back in VS 2012. I thought about creating a Powershell script that would add this back based on the StackOverflow posting as a basis.
-
Bas Hamer commented
this apparently was my favorite feature as I spend most of my night trying to get it back. the work around refuses to work for me.
Bringing back the functionality for public classes and methods would probably fix 90% of the grief.If you want to play nice then you can allow people to edit the T4 file that you use for generation to wire against an other framework.
-
Mike Cooper
commented
Any ETA Microsoft?