How can we improve Azure DevOps?

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!

908 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    90 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Juergen Schumacher commented  ·   ·  Flag as inappropriate

        Visual Studio 2015 Update 3 has it enabled for one project, and disabled for another. Why would that be? How to enable it in the project where it is disabled?

      • haughtonomous commented  ·   ·  Flag as inappropriate

        Yes but where is it for VS2013? Nowhere, it seems. Not even available by stealth.
        What is the VS team up to - hara kiri? In order to get it you have to take a VERY expensive MSDN subscription and upgrade to VS2015.

      • Pratap Lakshman [MSFT] commented  ·   ·  Flag as inappropriate

        Based on my previous post on this thread, I shall go ahead and change the status of this item to "Completed".
        Thank you for your feedback.

      • Anonymous commented  ·   ·  Flag as inappropriate

        Writing unit tests is one half of professional development. How do you want to learn new generation of developers, what testing means, if you remove such menu? You should do the oposit, motivate in all places where possible to add missing tests.
        Robert. C. Martin, Clean Coder: How much code should be covered? All of it. ALL, OF, IT.

      • Girija commented  ·   ·  Flag as inappropriate

        For this you have to go Tools->Options -> KeyBoard->Show command containng -_ Type Test -> set create test & put Short cut then it will enabled

      • William M Rawls commented  ·   ·  Flag as inappropriate

        The workaround is interesting but SO not what the dialog used to be. Please restore full functionality. I liked being able generate several tests with stub code all at once. Now all I get is the function name. PLEASE restore this functionality

      • Dinesh commented  ·   ·  Flag as inappropriate

        I have vs 2012 ,in that create unit testing option is not enabled, any idea

      • GregZ commented  ·   ·  Flag as inappropriate

        It is not in VS2013 either. These kinds of things turn people of from MS.

      • Rajani commented  ·   ·  Flag as inappropriate

        Yep, add "Create Unit Tests" menu option to automatically create unit test skeletons for methods and namespaces as it was in VS 2010!

      • Imad Marmoud commented  ·   ·  Flag as inappropriate

        It has a bug when creating a test class in a C# project from a VB class.
        Please, can you solve it ?

      ← Previous 1 3 4 5

      Feedback and Knowledge Base