I have used HSQL and/or mckoi quite successfully for running unit tests.  In
[configuration] we have TestDatabaseConfiguration that demonstrates using
DBUnit to populate an HSQLDB database, all in memory.  An upcoming HSQLDB
1.7.2 will be even better at being used in memory, you'll be able to specify
that the database is to be totally in memory and not persist anythign...

Eric

> -----Original Message-----
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 02, 2004 12:33 PM
> To: Jakarta Commons Developers List
> Subject: Re: [Resources] Presence vs. contrib
>
>
>
> I'm not sure how you want to handle the tests that require a database
> configuration and connection (??Craig??).  They run fine for me with a
> simple mysql install.
>
> As far as building/dist-ing, Maven is giving me fits.  I am
> fighting with
> Maven to get it to do what I need (per last discussion about
> distributions
> and struts plugins, etc), but I'm just not that familiar with it.
>
> I'm not complaining about Maven specifically, I just hate
> feeling stupid
> with this or any neat tool ;)
>
> Much like the discussions/arguments about jsp vs. velocity,
> Maven might be
> cool and might even be more powerful than Ant, but I am just not as
> knowledgable with Maven as I am with Ant build scripts.
>
> I'm going to move them to the main src directory, but I will need some
> assistence getting the tests to pass.
>
>
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
> MSN: [EMAIL PROTECTED]
>
>
>
> ----- Original Message -----
> From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
> To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
> Sent: Saturday, February 28, 2004 4:21 PM
> Subject: Re: [Resources] Presence vs. contrib
>
>
> > Quoting Martin Cooper <[EMAIL PROTECTED]>:
> >
> > > The database implementations of Resources are currently
> under a contrib
> > > directory, which seems to imply that they are somehow second class
> > > citizens to the other implementations. I'd prefer to see
> them up there
> > > with the best of them. ;-)
> > >
> > > Perhaps we could use a 'presence' test, as Chain does, to
> determine
> > > whether or not these pieces are built, and then integrate
> them more
> fully
> > > into the Resources build?
> > >
> >
> > +1 to both suggestions.
> >
> > > --
> > > Martin Cooper
> > >
> >
> > Craig
> >
> >
> >
> ---------------------------------------------------------------------
> > 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