If I understand your question, you're asking how to unit test DAOs. Typically, to test the DAOs themselves, I'll use an in memory database like HSQLDB. This allows you to test your DAO completely, including the SQL.
To test everything that uses the DAO (like the service or client layer), you can test those layers independent of the DAO implementations by using a mock framework like JMock, or by simply implementing the DAO interface with a test DAO. Cheers, Clinton On Sun, 9 Jan 2005 18:13:40 +0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi; > > how realized of the unit tests for DAO objets implemented with Ibatis ? which > tool I must to use for that ? > > Regards; > > ------------------------------------------------------------- > NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, > Toolbar... > Web/Wap : www.netcourrier.com > TÃlÃphone/Fax : 08 92 69 00 21 (0,34 â TTC/min) > Minitel: 3615 NETCOURRIER (0,16 â TTC/min) > >

