Matthew
Matthew

Reputation: 211

asp.net mvc nhibernate unit testing

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

Upvotes: 0

Views: 508

Answers (1)

Shane Courtrille
Shane Courtrille

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

Related Questions