locked
Test startup time is slow RRS feed

  • Question

  • I have vs 2010 sp1.  I setup a very simple test

     

     

    [TestMethod]
            public void Parse()
            {
                int i = 1;
                char start = 'A';
    
                while (i < 30)
                {
                    start++;
                    Debug.Write(start);
                    i++;
                }
    
               //breakpoint set here
              int stopHere = 0;
    

    From the time I hit Debug in the Test window it takes 1 minute and 14 seconds to hit the breakpoint.  Why is it so slow?  What can I do to troubleshoot/fix this problem?  The vast majority of that time is spent just waiting for the test to begin.  I see the Test Results window just showing the loading bar for ~70 seconds.

     


    BrianMackey.NET
    Tuesday, October 11, 2011 5:23 PM

Answers