I tried "mvn dbunit:operation" but it did not work. However, "mvn post-integration-test" works fine with your suggested modifications.
wnqq wrote: > > > If I wish to manually insert the data (namely, "ant db-load" in v1.x), > what configurations should I set, and what command should I execute? TIA. > > > mraible wrote: >> >> If you add an <execution> to the dbunit plugin that executes in the >> "post-integration-test" phase, that should solve your issue: >> >> <execution> >> <id>post-integration-test</id> >> <phase>post-integration-test</phase> >> <goals> >> <goal>operation</goal> >> </goals> >> </execution> >> >> HTH, >> >> Matt >> >> On 3/7/07, tdahlke <[EMAIL PROTECTED]> wrote: >>> >>> 2.0-m4-SNAPSHOT >>> >>> My problem is that the sample data I'd like to load get's deleted by the >>> tests (basically copies from the quickstart). This would be okay, except >>> there's foreign keys so the deletes cascade and then some other test >>> will >>> fail. >>> >>> >> > > -- View this message in context: http://www.nabble.com/DbUnit-load-different-data-after-testing-tf3364738s2369.html#a9447655 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
