RavenDB: Drop all collections

added by JefClaes
1/25/2013 9:07:44 AM

0 Kicks, 88 Views

I never stub or mock the database when I'm using RavenDB. Generally, I use an embeddable documentstore running in memory, and initialize a new instance on every test. However, I like to run some stress tests against a real instance, and here I found myself wanting to wipe clean the state of previous tests, without having to create a new database (which is rather slow).