문제

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