This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Agile and Other Processes and the fly likes Clean Code: A Handbook of Agile Software Craftsmanship - Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Agile and Other Processes
Bookmark "Clean Code: A Handbook of Agile Software Craftsmanship - Database" Watch "Clean Code: A Handbook of Agile Software Craftsmanship - Database" New topic
Author

Clean Code: A Handbook of Agile Software Craftsmanship - Database

Tomasz Prus
Ranch Hand

Joined: May 20, 2008
Posts: 73
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

Joined: Jan 28, 2008
Posts: 471

There's DbUnit and unitils
[ September 23, 2008: Message edited by: Alaa Nassef ]

Visit my blog: http://jnassef.blogspot.com/
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Clean Code: A Handbook of Agile Software Craftsmanship - Database
 
It's not a secret anymore!