vstest.console Debug output

jezz.santos's Avatar

jezz.santos

28 Dec, 2015 10:06 PM

We are having to use vstest.console.exe to run our tests.
When a test fails, we see two parts: the "Error Message", and the "Stack Trace".

Can we also see the "Debug Trace"? that is, anything that was output using System.Diagnostics.Debug.WriteLine?

  1. Support Staff 1 Posted by Feodor Fitsner on 28 Dec, 2015 10:41 PM

    Feodor Fitsner's Avatar

    Debug/Trace messages should appear in StdOut section under test results. Do you run tests against "Debug" versions of assemblies?

  2. 2 Posted by jezz.santos on 28 Dec, 2015 10:42 PM

    jezz.santos's Avatar

    verifying that now. Shit. thanks

  3. 3 Posted by jezz.santos on 29 Dec, 2015 01:08 AM

    jezz.santos's Avatar

    Yep, you are absolutely right, stupid me! we were testing in Release configuration.

  4. jezz.santos closed this discussion on 29 Dec, 2015 01:09 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac