开发者

IntegrationTests for NHibernate.MappingException: No persister for:

If I forgot to add mappings to a persister object, NHibernate will throw an exception when I'll run the application.

I want to write an integration tests, that test that all mappings are provided to NHibernate. what is the way you recommend to f开发者_开发技巧ollow?


Take a look at this article (Ghostbusters!), or if you're using fluent-nhibernate you might like its persistence specification testing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜