Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tests are no longer executed through Visual Studio 2010 after Visual Studio 11 beta was installed

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?

like image 584
chaliasos Avatar asked Mar 18 '12 12:03

chaliasos


People also ask

How do I enable test in Visual Studio?

To enable Live Unit Testing, select Test > Live Unit Testing > Start from the top-level Visual Studio menu.

How do I know if Visual Studio 2010 Service Pack 1 is installed?

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.

How do I run a test in Visual Studio 2022?

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.

How do I test a project in Visual Studio?

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.


1 Answers

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.

like image 50
Magnus Johansson Avatar answered Sep 28 '22 07:09

Magnus Johansson