I have a test project in Visual Studio. I use Microsoft.VisualStudio.TestTools.UnitTesting.
I add this line in one of my unit tests:
Console.W
You can use
Trace.WriteLine()
to write to the Output window when debugging a unit test.