Dave
Dave

Reputation: 8631

Where did Test List go in Visual Studio 2013?

I just installed Visual Studio 2013 Premium and was having a good time playing with it and writing unit tests (using MS unit tests). However, the "Test Lists" window and some other Test related windows suddenly disappeared AND they have disappeared from the menu item Test->Windows. In fact I remember Test->Windows having 4 items under it and now I only see two: Test Explorer, Code Coverage Results. i stress they WERE present in Visual Studio 2013. Clearly, I hit some key combination that made them disappear or something happened to make them disappear. How do I get Test List back? Please don't see they are under Tests->Windows, because for me, they are not (at least now. they were!)

Anyone else seen this? Any solutions? I tried restarting Visual Studio, rebooting.

Also, previously, under the "Test" menu, there was a Debug->"Test in Context" and a Run->"Test in Context", or something like this. It was very handy. If your cursor was with in some test, you could run just that one. I'm guessing this is related.

Upvotes: 5

Views: 7002

Answers (3)

Roman Gruber
Roman Gruber

Reputation: 1411

For all I know, these features have been "optimized" into the new test-window... a.k.a. they have been removed. Some other unit test related features are also gone (the context menu item for "create unit tests" is gone for example, yet can still be called via the command window)

Personally I think this is Microsoft's way of pushing everybody towards the Team Foundation Server but that's just my two cents.

Upvotes: 2

Miguel Rodriguez
Miguel Rodriguez

Reputation: 299

Start Developer Command Prompt:

  • cd to UnitTest-folder\bin\Debug which contains .dll
  • enter command: mstest /testcontainer:UnitTestMyTest.dll (this creates the test-result)

in VS:

  • menu View / Other Windows / Test Results
  • manage Test Runs: window Test Runs -> connect to Test Run
  • browse to test-folder\bin\Debug\TestResults

Upvotes: -1

OSH
OSH

Reputation: 2937

I just had the same issue. In my case I needed to install the NUnit plugin ("Nunit test adapter"). After restarting the tests came back.

Upvotes: 1

Related Questions