Reputation: 359
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?
Upvotes: 2
Views: 7953
Reputation: 457
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
Upvotes: 5