I have created many TestProjects with Visual-Studio-2010 Ultimate
. All tests were executed successfully (they were simple unit tests). Now I installed Visual-Studio-11 beta
and I realized that they are not executed through VS-2010
. I also tried it through MSTest (2010) from command line without success. The test execution seems to start (and never ends) but the tests are not executed without reporting any error. Through VS-11
everything works fine.
Has anyone the same issue?
To enable Live Unit Testing, select Test > Live Unit Testing > Start from the top-level Visual Studio menu.
Question: How can I easily see if VS SP1 is installed on my machine? Answer: Run VS 2010, open Help » About. Look for "SP1Rel" after the version number.
Run tests in Test Explorer If Test Explorer is not visible, choose Test on the Visual Studio menu, choose Windows, and then choose Test Explorer (or press Ctrl + E, T). As you run, write, and rerun your tests, the Test Explorer displays the results in a default grouping of Project, Namespace, and Class.
Select the test project in Solution Explorer. On the Project menu, select Add Reference. In Reference Manager, select the Solution node under Projects. Select the code project you want to test, and then select OK.
Have you checked this: MSTest not working after installing vs11 next to vs10
To paraphrase the official answer from Microsoft in the above link:
This is a known issue with Visual Studio 2010 which got fixed in 2010 SP1
Get SP1 from here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With