Interesting article about unit testing data acces or domain model objects.
I've come accross this problem on my previous project but the data access layer was "home made" (even before hibernate started) and couldn't be change easily.
So I used DBUnit in TestCase to unit test, the tests were a little slower but still good enough.
For the Ron Johnson fans ;) see the comments on the server side.
No comments:
Post a Comment