we use profiles mvn test -P test and in the pom file add a prifle named test with a different database.
tibi Matt Raible wrote: > Not currently, no. However, you can change DbUnit's logic so it > doesn't replace your data everytime with sample data. Also, the tests > don't typically modify the data since they use transactions and roll > them back after every test execution. > > On Sat, Sep 12, 2009 at 4:50 PM, measwel > <[email protected] <mailto:[email protected]>> > wrote: > > > Is there a way to make sure that my tests run on a different DB > than the one > I am using for development? > -- > View this message in context: > > http://www.nabble.com/1-db-for-testing-1-for-development-tp25418927s2369p25418927.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > <mailto:[email protected]> > For additional commands, e-mail: [email protected] > <mailto:[email protected]> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
