Zygmuntix
Zygmuntix

Reputation: 359

How to enable vstest.console.exe logging?

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

Answers (1)

Martin van Delft
Martin van Delft

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

Related Questions