Using ReSharper, how to show debug output during a long-running unit test?

后端 未结 7 1186
误落风尘
误落风尘 2020-12-28 13:06

I\'m using xUnit with the ReSharper test runner and the xUnitContrib resharper plugin.

When I have a long-running test, I\'d like to be able to output some progress

7条回答
  •  爱一瞬间的悲伤
    2020-12-28 13:34

    For NUnit this works:

    Console.SetOut(TestContext.Progress);
    

    ** The late answer is because I had the same problem, and I just solved it. may help others

提交回复
热议问题