Pages

Add Custom Message to Unit Test Result

Wednesday, November 13, 2013

If you are using MS test for the Unit test of your code you may need to print some output on the Output window. You can use


System.Diagnostics.Trace.WriteLine("Hello World!!!!!");

To output whatever you'd like. It will show up in the full results of the test runner.


No comments:

Post a Comment