2
當我執行moles.runner.exe時,提供MSTest.exe作爲跑步者,我看到一個錯誤。使用moles.runner.exe和MSTest.exe作爲測試跑步者
這裏是命令行:
moles.runner.exe MyAssembly.dll /r:MSTest.exe /args:/resultsfile:output.trx /args:/testcontainer:MyAssembly.dll
這裏是輸出:
Microsoft Moles Runner v0.94.51023.0 -- http://research.microsoft.com/moles -- .NET v4.0.30319
Copyright (c) Microsoft Corporation 2007-2010. All rights reserved.
instrumenting...started
Microsoft (R) Test Execution Command Line Tool Version 9.0.30729.1
Copyright (c) Microsoft Corporation. All rights reserved.
Invalid switch "MyAssembly.dll"
For switch syntax, type "MSTest /help"
當我執行moles.runner.exe與/ d(診斷模式),它示出了這一點:
r>MSTest.exe MyAssembly.dll /resultsfile:output.trx /testcontainer:MyAssembly.dll
如何moles.runner.exe被引導到不通過如sembly的名字作爲測試跑步者的第一個參數?
救了我的命,謝謝 – 2012-06-13 09:49:43
很高興幫助你! – 2012-06-13 17:26:48