How can I write a unit test for CRUD using in memory database with fluent nhibernate?
1 Answer
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
1 Comment
Matthew
Thanks that help, I did find a way of doing it but your link answered alot of questions also