We have a base class that our StrutsTestCases inherit from that uses dbunit :-)

On Tue, 25 May 2004 19:53:48 -0700, Warner Onstine
<[EMAIL PROTECTED]> wrote:
> 
> We're using dbunit for some of the tests, but we need to clean and
> reset the database before each set of tests. Currently we are doing
> this through Ant tasks and I am converting these over to Maven goals.
> I've contemplated moving this part into the Unit test setup and
> teardown, but the other tests are StrutsTestCases and JWebUnit tests so
> they need a clean database to work with.
> 
> -warner
> 
> 
> 
> On May 25, 2004, at 6:39 PM, Dion Gillard wrote:
> 
> > Hmmm,
> >
> > aren't tests supposed to be able to be run in any order regardless?
> >
> > Have you tried using something like dbunit?
> >
> > http://dbunit.sf.net
> >
> > On Tue, 25 May 2004 13:47:44 -0700, Warner Onstine
> > <[EMAIL PROTECTED]> wrote:
> >>
> >> Is there a way in Maven to override the test:test goal and specify my
> >> own tests, resources and goals inside? Basically what I need to do is
> >> to tell Maven that I want to clean a database and setup specific data
> >> prior to 3 different types of tests.
> >>
> >> -warner
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to