How to enable vstest.console.exe logging?

让人想犯罪 __ 提交于 2019-12-12 04:21:33

问题


I am trying to see what exactly vstest command is executed when I run tests in Visual Studio 2013. How can I enable vstest.console.exe logging?


回答1:


The command executed would be VSTest.Console.exe with the relevant parameters. Likely Visual Studio is calling this for you when you run tests:

VSTest.Console.exe [Path\NameOf.dll] /Logger:trx

To check if VSTest actually has a logger:

VSTest.Console.exe /ListLoggers

Write your own logger for VSTest

More about calling VSTest.Console.exe



来源:https://stackoverflow.com/questions/39367263/how-to-enable-vstest-console-exe-logging

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!