Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Text output from tests using Visual Studio 2008 + Resharper + NUnit

I like to do console output for exploratory purposes when I am creating a unit test. Is there a way to see the Console.WriteLine("s") in Visual Studio when executing my test using Resharper?

I don't keep the console output in the final version of my tests, so there is no need to comment on that.

like image 883
Deleted Avatar asked Dec 08 '22 03:12

Deleted


1 Answers

You can use Trace.Write() instead of Console.Write() to write to the output window inside the Visual Studio IDE

See here

like image 93
Martin Harris Avatar answered Jun 03 '23 15:06

Martin Harris