How to get Debug output from unit tests in TFS 2015 -


when running unit tests locally in visual studio 2015, can click on output hyperlink in test results , gain access debug trace output (as standard output) on test output page.

enter image description here

sample test output

however when using build agent build , test, can't find way gain access output information. i've dug through every screen can think of , nothing. shows assert exception message , stack trace.

enter image description here

even if download .trx file doesn't include console output section.

enter image description here

is there way output test run performed agent?

also, of tests write additional information testresults folder. contents of folder appears excluded stored test information. there way well?

the other thing can think of have tests write debug information files copy folder build step. seems kind of kludgy. if remember correctly, "old" tfs build process save information automatically , available looking @ test runs in visual studio.

using system.diagnostics.trace.writeline() instead of system.diagnostics.debug.writeline(), information when run test tfs: enter image description here

enter image description here


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

sql - MySQL - Finding Empty relations -

linux - gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now -