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