阅读背景:

如何在NUnit中编写测试方法来测试savefile方法?

来源:互联网 

I wrote a savefile method to save an object to xml. But I am not sure how to test the method in NUnit. Do I need create a sample file manually and compare the string between the files? Are there any better ways to test the method?I wrote a savefile method to save an object to




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

分享到: