Test Execution Output

Unit Test Runner catches output statements and displays the output information in the Test Runner Window.


Different message types are placed to different tabs. The table below shows what methods are associated with each tab. Once a method from the list below is executed, the text passed to the method as an argument appears in the corresponding tab.

Tab Methods
Console output Console.Write, Console.WriteLine
Console errors Console.Error.Write, Console.Error.WriteLine
Debug output Debug.Write, Debug.WriteLine