title: Unit Testing RavenDB
body: <p>In my unit tests I am setting up each test to have a totally empty IDocumentSession. I do it like this:</p>
  
  <pre><code>[SetUp]
  public void SetUp()
  {
    _store = new EmbeddableDocumentStore
    {
       RunInMemory = true
    };
  
    _store.Initialize();
  
    Session = _store.OpenSession();
  }
  </code></pre>
  
  <p>But I think this might be the reason my tests are a little slow. I was wondering if there is a simple command to delete all documents from the database.</p>
  
  <p>What I want is to know is: if I can do this, and if it would improve performance.</p>