0

After updating Visual Studio 2015 to Update 3 and install ASP .NET Core, I created a new Web API project.

When I right-click at a method, I no longer see the context menu "Create Unit Tests".

Context Menu

Also, is there a project template to quickly create a new Unit Test project using ASP .NET Core? I found the instruction from ASP .NET documentation web site, but I don't want to concern about it every time I want to create a new unit test project.

The top xUnit NuGet package cannot be installed to a new ASP .NET Core class library project. xUnit NuGet package

Believe2014
  • 3,894
  • 2
  • 26
  • 46
  • From which version did you upgrade? Afaik that "create unit tests" item has been gone for years. – H H Jul 03 '16 at 16:07
  • Full VS integration of unit testing will not come before VS "15" is out. You can use some xunit support by reading their homepage. – Lex Li Jul 04 '16 at 02:14

1 Answers1

0

You could check this SO answer out to get "Create unit tests" context menu back. Where is the "Create Unit Tests" selection?

Sunny Tambi
  • 2,393
  • 3
  • 23
  • 27