cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: testing with cayenne
Date Sat, 10 Nov 2012 13:26:03 GMT
Hi Emeka,

We've used http://h2database.com/ before to create a real in-memory
database to run tests against.  H2 is small and fast and works pretty
well, plus by creating your schema/data in-memory only, you don't have
to worry about file permissions or cleanup when your tests are done
running.

mrg


On Fri, Nov 9, 2012 at 6:04 PM, emeka okafor <emeka_1978@yahoo.com> wrote:
> New cayenne user here. I am trying to use cayenne as the orm for an application and I
was wondering how you guys write your unit test? do you test with a real database or do you
have predefined mock objectcontext and son on to be able to write performant test?
> Thank you.

Mime
View raw message