couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bernard <>
Subject testing strategy -- efficient db initialization
Date Wed, 15 Apr 2009 01:25:08 GMT

What's the most efficient way to re-initialize a database between unit  
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  
are significantly slower than specifically deleting the documents used  
in the
test.  Any suggestions are much appreciated!

Chris Bernard

View raw message