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

后端 未结 7 1080
误落风尘
误落风尘 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:39

    You may also consider using xunit.NLog which is a very nice and clean way to inject ITestOutputhelper into your SUTs.

    http://www.tomdupont.net/2015/06/capture-xunit-test-output-with-nlog-and.html

提交回复
热议问题