• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Clean Code: A Handbook of Agile Software Craftsmanship - Database

 
Tomasz Prus
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's DbUnit and unitils
[ September 23, 2008: Message edited by: Alaa Nassef ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic