开发者

Visual Studio 2008 Test Run taking long to Complete

I have a bunch of test projects in my solution. Most of them run instantly and finish instantly. One however takes a long time to complete. The actual tests run fast, but for a long period after all the tests开发者_JAVA技巧 have passed the interface still says "Test Run Completing...". The test run eventually finishes after 10-20 seconds. Has anyone experiences this problem or have any idea what particular aspect of code might cause this?


Could be a long-running Teardown (in NUnit, TestFixtureTearDown - not sure if it's exactly the same in mstest)? That would run after all tests have finished and could doing some time-intensive clean up. That would explain why all tests have passed by it still appears to be doing something and would be the first thing I would check.


Could be a disc I/O problem. The test run will write the results to a number of files. Have you configured these to be on a slow / hard to reach drive?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜