【发布时间】:2010-07-06 14:49:54
【问题描述】:
如何在内存数据库中使用流畅的 nhibernate 为 CRUD 编写单元测试?
【问题讨论】:
标签: asp.net unit-testing nhibernate testing fluent
如何在内存数据库中使用流畅的 nhibernate 为 CRUD 编写单元测试?
【问题讨论】:
标签: asp.net unit-testing nhibernate testing fluent
您不会编写单元测试(根据标准定义,它不涉及外部系统)。
相反,您将编写一个集成测试,我认为这就是您要寻找的......
http://wiki.fluentnhibernate.org/Persistence_specification_testing
【讨论】: