If you're using Spring then this is a godsend: http://static.springframework.org/spring/docs/1.2.x/api/org/springframework/test/AbstractTransactionalDataSourceSpringContextTests.html
Transactions rollback the data no matter what happens. The db is always left in a consistent state and unit testing is really easy. On 10/17/05, Clinton Begin <[EMAIL PROTECTED]> wrote: > > I use HSQLDB for 90% of my unit testing. > > Cheers, > Clinton > > > On 10/17/05, Larry Meadors <[EMAIL PROTECTED]> wrote: > > Have you looked into dbunit? > > > > Larry > > > > > > On 10/17/05, Gajendra Naidu <[EMAIL PROTECTED]> wrote: > > > Hi > > > > > > Can some body suggest me on writting Unit Test cases using JUNIT for > DAOs > > > which have been extended SqlMapDaoTemplate.class. > > > > > > Thanks in advance. > > > > > > Gaj > > > >
