title: Symfony - Delete and reload all database records for each test
body: <p>From the <a href="http://www.symfony-project.org/jobeet/1_4/Doctrine/en/08" rel="nofollow noreferrer">Jobeet tutorial</a> provided in Symfony website, I found out that I can load fixtures data each time I run unit test by using this script:</p>
  
  <pre><code>Doctrine_Core::loadData(sfConfig::get('sf_test_dir').'/fixtures');
  </code></pre>
  
  <p>However, I want to <strong>delete</strong> and <strong>reload</strong> all records from database each time I run a unit test. Currently, I'm doing this manually (Run <em>symfony doctrine:build --all</em> before each test). Can someone provided me a correct way to do this?</p>