Tutorial :asp.net mvc nhibernate unit testing



Question:

How can I write a unit test for CRUD using in memory database with fluent nhibernate?


Solution:1

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


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »