Tests remain pending forever

In Visual Studio Pro 2010, I cannot run unit tests. They simply show the result “Pending” in the “Test Results” window.

For simplicity, I created an empty solution and added a new C # test project and clicked "Run all tests in the solution." The "Test Results" window shows, showing the test "TestMethod1" by default, but then nothing happens, and the status says "Test run" forever. From there, pressing the stop button permanently changes the status to "Testing the test run ...".

After a bit of work, I found in the process explorer that devenv starts QtAgent32, but none of them use any processor.

This is the first time I have tried to run unit tests in Visual Studio. Is there a necessary configuration step that I need to perform to run the tests?

+4
source share
2 answers

Install Service Pack 1 to fix it.

In the end, I found a duplicate also providing an answer here: VS 2010 Test for maximum performance on the Internet always expects

+2
source

I know this is a little late. I have the same problem and in my case it was a full controller disk created by truble

0
source

Source: https://habr.com/ru/post/1447154/


All Articles