ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Bradley <debrad...@gmail.com>
Subject Re: iBatis Unit Testing
Date Mon, 17 Oct 2005 16:57:53 GMT
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 <clinton.begin@gmail.com> wrote:
>
>  I use HSQLDB for 90% of my unit testing.
>
>  Cheers,
>  Clinton
>
>
> On 10/17/05, Larry Meadors <lmeadors@apache.org> wrote:
> > Have you looked into dbunit?
> >
> > Larry
> >
> >
> > On 10/17/05, Gajendra Naidu <gajendra.naidu@gmail.com> 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
> >
>
>

Mime
View raw message