阅读背景:

C#:如何在单元测试中检查“没有发生异常”?

来源:互联网 

I'm writing a unit test for this one method which returns "void". I would like to have one case that the test passes when there is no exception thrown. How do I write that in C#?I'm writing a unit test for this one method whi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: