Replace Console.WriteLine in NUnit

前端 未结 5 1907
野趣味
野趣味 2020-12-14 14:56

I haven\'t done much with NUnit before, but I just wanted to dump some text to a window in a console type fashion.

e.g. Console.WriteLine("... some infor         


        
5条回答
  •  情深已故
    2020-12-14 15:26

    In Visual Studio 2017, in the Test Explorer window, there is a link, Output, in the lower Test pane. This brings up anything written to the console during that unit test.

提交回复
热议问题