Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 Test Explorer Delayed Start

I have purchased VS2013 and trying to work on an existing project of my own, and I have 201 unit tests written , but when I open the solution in vs2013 and open the Test class and Right Click , the Run Tests option is disabled .. , after 3-4 minutes it automatically gets enabled.

I am not sure what could be the cause.

my machine is : 8GB ; i7 ; 500gb ;250 ssd

any idea ?

like image 890
N.K Avatar asked Oct 21 '22 20:10

N.K


1 Answers

If a solution is being loaded afresh in VS then the test engine needs to do a test discovery to detect if there are test methods available for execution. Once this discovery is completed you will see the list of available tests in the "test explorer" tab and the "run tests" option enabled back on in the right click context menu.

You can notice this phase better if you go to the Output->Tests window where you will see the discovery start and stop messages. Post the stop all run test tests related options will be available.

like image 67
allen Avatar answered Oct 23 '22 23:10

allen