Is there a way to unit test an async method?

前端 未结 0 1607
离开以前
离开以前 2021-02-12 07:40

I am using Xunit and NMock on .NET platform. I am testing a presentation model where a method is asynchronous. The method creates an async task and executes it so the method ret

相关标签:
回答
  • 消灭零回复
提交回复
热议问题