0

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

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks that help, I did find a way of doing it but your link answered alot of questions also

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.