Is the "Create Unit Tests" feature missing in Visual Studio 2026?
Posted: (EET/GMT+2)
I was today working with the latest Visual Studio 2026 installation and needed to write some unit tests for a C# application I was working on. I've accustomed to right-clicking public methods, and choosing the command "Create Unit Tests" from the popup menu, around the middle of the long menu.
To my surprise, this command didn't exists, and the feature search function (aka Ctrl+Q) also revealed nothing. It seems the modern idea is to use AI for this, but: the old method more mechanical, and thus a lot faster. I'm not saying that AI is slow, but it is slower.
I solved my issue by running Visual Studio 2022 side-by-side, and created my unit test skeletons there, and then returned to the comfort of the latest version.
For the record, this is what the Visual Studio 2022 window looks like:
And this is precisely what I'm now missing in Visual Studio 2026.