2013-12-16 63 views
0

我不知道自从什么时候(也许在安装Update 4之后?),VS2012无法在任何解决方案中检测到我的测试。错误检测VS2012中的测试

------ Prueba de detección iniciada ------ 
El sistema no puede encontrar el archivo especificado 
========== Prueba de detección finalizada: 0 encontró (0:00:00,099067) ========== 

英语会是这样的......

------ Test detection started ------ 
System cannot find the specified file 
========== Test detection finished: 0 found (0:00:00,099067) ========== 

我没有发现任何的活动信息。不知道在哪里看。

有什么想法?

+0

也许试试用vstest命令行来运行你的单元测试来检索更多的交易/调试信息: “C:\ Program Files(x86)\ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ CommonExtensions \ Microsoft \ TestWindow \ vstest。 console.exe“”Project.Tests.dll“ 您可能还想使用Fusion Log Viewer来诊断文件加载问题:http://msdn.microsoft.com/en-us/library/e74a18c4(v=vs .110).aspx –

+0

尝试使用vstest命令行运行单元测试实际运行所有测试。看起来问题在于VS2012用来从编译程序集中检测测试的过程。使用Fusion Log Viewer并没有帮助。 – Farlop

回答

0

终于找到了我自己的解决方案。使用SysInternals工具Process Monitor,我已经能够发现我丢失了文件vstest.discoveryengine.x86.exe。刚刚从另一个安装中复制,现在又重新开始工作。