VS 2011 does not save or show debug or console output for a unit test!
-
Friday, January 20, 2012 6:42 PM
Is this right?
I installed 2011 developer preview and I cannot find a way to see the output for debug or console statements.
I have looked in the local test database PROJECT.UTests.mdf (no trx file generated)
I have run the tests from command line with mstest (trx file doesnt have output in 'em)
Perhaps everyone is using team server and is smarter than I... I don't know.
Can anyone set me straight? Charles?
- Edited by scenariolab Friday, January 20, 2012 6:43 PM
All Replies
-
Monday, March 05, 2012 2:06 AM
Hi,
This issue is fixed in Vs 2011 Beta. Can you upgrade to Beta ?
Let us know if you have any further feedback/queries.
Thanks
Bhuva
- Proposed As Answer by Vikram Agrawal Saturday, April 28, 2012 10:03 AM
-
Friday, May 11, 2012 2:21 PM
Installing VS 2011 Beta on the same machine as VS 2010 (SP1) breaks the VS 2010 unit test console output display in the "Test Result" window where the test result details are displayed. From looking in the .trx file, the details are still captured; however VS 2010 does not display them in the results.
Also, VS 2010 (regardless of VS 2011 beta installed or not) cannot seem to handle moderate to large amounts of info written to the console when displaying the test result window - it either crashes or takes a ridiculous amount of time to open the results - often it is easier and quicker to open the trx file directly in a text editor!!
-
Wednesday, October 10, 2012 1:58 AM
Hi Bardo33
Have you tried installing the RTM version of VS 2012 and seeing if this has improved your experience around viewing test output? If not can you file a connect bug? http://connect.microsoft.com/VisualStudio
Todd King - Visual Studio ALM team.

