openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert burrell donkin" <>
Subject Re: Perform automatic drop and create db schema
Date Tue, 02 Jan 2007 21:22:51 GMT
On 1/2/07, Marc Prud'hommeaux <> wrote:
> Personally, I like to put both the data cleanup and data
> initialization in the setUp() stage. It's sometimes a bit slower, but
> if there is faulty cleanup logic in a previous test's tearDown(), it
> may affect some random test down the road, and it can sometimes be
> very difficult to track down.

i found that data cleaning in both setUp() and tearDown(), is
necessary (at least for standard commercial development)

- robert

View raw message