how do you specify in the profile what DB to use?
tibi wrote: > > 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 >> <marek_karczew...@yahoo.com.au <mailto:marek_karczew...@yahoo.com.au>> >> 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: users-unsubscr...@appfuse.dev.java.net >> <mailto:users-unsubscr...@appfuse.dev.java.net> >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> <mailto:users-h...@appfuse.dev.java.net> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > > > -- View this message in context: http://www.nabble.com/1-db-for-testing-1-for-development-tp25418927s2369p25457424.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net