I'm using Unitils (with DbUnit) for my data access layer unit testing, but the need has arisen to test multiple databases. What's the best way to do it? The databases are different so some DAOs are for one database, another DAOs are for another.
I see the following alternatives:
- Associating each *DaoTest with a separate unitils.properties file that would hold configuration for this DAO's database. Is it even possible?
- Having a separate test project for every database (holding this database's *DaoTests and a unitils.properties file with the database's credentials)
Any other ideas?