For learning Test Project in VS2008 I followed a tutorial and created a new simple winform application in c#.

I created one class and added a test project with the default created test. When I run the test (right click > Run selection) it is "Pending" forever and after aborted it's result is "Not Executed".

The result details are:

"Failed to queue test run 'user@user-PC 2014-03-03 13:00:02': Test run 'user@user-PC 2014-03-03 13:00:02' cannot be executed on controller user-PC. No agents are marked online to execute test run."

(user-PC is my PC name)

Does anyone have any idea what I'm missing here?

有帮助吗?

解决方案 2

I finally found it here.

The solution is very simple: just change PC name (by registry) to an Uppercase name.

Magic, but it solve the problem!

其他提示

Please kill the process

VSPerfMon.exe

and try executing the unit test cases again.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top