阅读背景:

如何使用NUnit测试与数据库相关的代码?

来源:互联网 

I want to write unit tests with NUnit that hit the database. I'd like to have the database in a consistent state for each test. I thought transactions would allow me to "undo" each test so I searched around and found several articles from 2004-05 on the topic:I want to write unit tests with NUnit that hit




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

分享到: