同台机器上安装VS2012 与VS2010,单元测试无法运行的问题
Q:
VS2010 Unit test “Pending” and the test cannot be completed
I'm using VS2010 (with windows 7).
Every time I try to run a unit test it stays on "Pending" and the test cannot be completed.
I tried to follow this msdn instructions.
I tried debugging test method (test view/debug selection), set breakpoints, but VS2010 indicates: the breakpoint will not currently be hit... I'm in debug configuration.
Any advice?
A:
If you have VS2010 and VS2012 installed on the same box you need to install SP1 for VS2010 or the unit tests sometimes won't work.