I have created a unit test project in VS2013, and I\'m using it to create a test suite for my SQL Server 2012 database.
I have created 4 test classes so far and ever
Visual Studio Test Explorer has icons that control what tests are shown, make sure what you want to see is selected. For example, if you unselect the green checkbox, tests will disappear as they pass.
Resolved a similar issue by adding the NuGet package Microsoft.NET.Test.Sdk, in addition to MSTest.TestAdapter and MSTest.TestFramework for a .NET Core Unit Test project. There were no errors on build, but the Output Window with Tests selected from the dropdown menu showed additional logging.
I just had this very same problem and for me the solution was to go to Tools -> Extensions and updates, uninstall NuGet package installer for 2013 and re-install it.
Are you using nUnit? I've just had a similar situation moving to a new pc, causing all existing tests to disappear.
Go to Tools -> Extensions and updates -> Select Online on the left -> enter in the search box top right 'nunit test adapter' and install it.
One rebuild later and the tests appeared again.
I just had the exact same thing happen to be. Build, Rebuild, Clean Build, the Test Explorer couldn't list for me my unit tests!
This came after I changed the unit test project's platform target from "any CPU" to x64. I switched it back to "any CPU", built, and they appeared again. How frustrating.