Clean Code: A Handbook of Agile Software Craftsmanship - Database
posted 9 years ago
I try use TDD in my job but i have always problem with writing tests for DAOs. I heard that good methods is to create database schema in tests (using HSQL) but often somethings work in hsql but not in mysql. What is good way to testing such purposes, to testing database issuess?