Reputation: 211
How can I write a unit test for CRUD using in memory database with fluent nhibernate?
Upvotes: 0
Views: 508
Reputation: 14097
You wouldn't write a unit test (which by the standard definition does not involve external systems).
Instead you would write an integration test and I think this is what you're looking for..
http://wiki.fluentnhibernate.org/Persistence_specification_testing
Upvotes: 1