I have heard that when developing application which uses a database you should do database unit testing. What are the best practices in database unit testing? What are the prima
What are the best practices in database unit testing?
The DbUnit framework (a testing framework allowing to put a database in a know state and to perform assertion against its content) has a page listing database testing best practices that, to my experience, are true.
What are the primary concerns when doing db unit testing
and how to do it "right"?
As hinted, follow known good practices and use dedicated tools/frameworks: