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.
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.
even if download .trx file doesn't include console output section.
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: 





Comments
Post a Comment