What I see is database deletion/creation is very fast.

2009/4/15 Chris Bernard <[email protected]>:
> Hi,
>
> What's the most efficient way to re-initialize a database between unit
> tests?
> I'd like to have a generic solution, like simply recreating the database or
> deleting all the documents in the database.  But it seems both these
> strategies
> are significantly slower than specifically deleting the documents used in
> the
> test.  Any suggestions are much appreciated!
>
>
> --
> Chris Bernard
> www.spryplanner.com
>
>



-- 
----------------
Best regards
Elf
mailto:[email protected]

Reply via email to