in english testing database
Testing database code is not that hard with correct tools like DbFit.The fully functional example is available on GitHub. In this blog Digia's expert Jani Hurskainen shares his learnings about testing database code with DbFit.