5

I can't find the "Create Unit Test" command in the context menu anymore. Did they remove it from VS2017?

  • Live Unit Testing in Visual Studio 2017 RC: blogs.msdn.microsoft.com/visualstudio/2016/11/18/… – Leo Chapiro Dec 12 '16 at 12:19
  • @duDE: I don't know how that is relevant? Are you implying that they removed the command in favor of live unit testing? – gartenriese Dec 13 '16 at 7:36
  • Well, that is about a RC (release candidate) of VS, not ready yet. And yes, you can use meantime the Live Unit Testing instead. – Leo Chapiro Dec 13 '16 at 9:15
  • @duDE: Oh, I think you misunderstood. I can still use unit tests, it's just that the one command is missing. It's just a slight inconvenience because now I have to create the TestMethod manually. But I guess it will be implemented once it's done. – gartenriese Dec 13 '16 at 13:49
  • 1
    Despite this, visualstudio.com/en-us/docs/test/developer-testing/… I also can't find it. – JonathanPeel Mar 19 '17 at 12:36
0

Looks like it was removed, though I didn't really use it. I recommend using Rusty Divine's code snippet:

Works great--all you have to do is type ut and then TAB.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.