You could change the DbUnit plugin so it doesn't clear out the database.
However, a better approach is to add both records to sample-data.xml.

Matt

On Wed, Apr 15, 2009 at 3:40 AM, Kenny Ha <vifaxoc...@yahoo.com> wrote:

>
> Hi all,
>
> Is there any way to run test on current database??
>
> Example :
> In sample-data.xml, I define a record of table person (id = 1, firstName =
> Kenny, firstName = Ha) .And I add one record (id = 2, firstName = Kenny,
> firstName = Ha) to table person by using Navicat (not defining in
> sample-data.xml)
> I want run test on current database with 2 records, but i dont know how to
> do that??
>
> Thanks and Regards!
> Kenny.
> --
> View this message in context:
> http://www.nabble.com/How-to-run-tests-on-current-database---tp23055832s2369p23055832.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
>
>

Reply via email to