title: How do you set up database testing using the PHP SimpleTest framework
body: <p>I am using SimpleTest, a PHP-based unit testing framework. I am testing new code that will handle storing and retrieving website comments from a database. I am at a loss for how to structure the project to test the database access code.</p>
  
  <p>I am looking for any suggestions as to best practices for testing db code in a PHP application. Examples are really great. Sites for further reading are great.</p>
  
  <p>Thank you kindly. :)</p>