title: Magento - Unit Testing
body: <p>I have been having some problems with a Magento site recently and am looking for a way to check the integrity of a Magento site at any given point.</p>
  
  <p>Unit Testing jumps out as one method of doing this but I would assume it would be a very big job to write a whole lot of tests to check everything in the site is working as it should.</p>
  
  <p>Can anyone involved in unit testing and magento advise on the following:</p>
  
  <ol>
  <li>Is it possible to test the whole site and not just custom modules -
  is so some examples of tests would be amazing.</li>
  <li>Given that the site is heavily linked to the database - how would it
  be possible to fully test the site without disturbing the database</li>
  <li>Are there any better ways to automaticlly check the integrity of a
      magento site</li>
  </ol>
  
  <p>When I say integrity i really mean that there are no faults on the site - shipping, payment etc are all working correctly.</p>