title: How to test php with out a framework like zend
body: <p>I am use to working with frameworks like zend or rails and using various testing methodologies. How ever, I cannot fathom how to test a regular, non framework based class in php that has the following methods:</p>
  
  <pre><code>class Example{
      public function add(){}
      public function edit(){}
      public function delete(){}
      public function list(){}
  }
  </code></pre>
  
  <p>I know you need a testing or tests or test folder, that parts down. would the class inside be  something like:</p>
  
  <pre><code>class ExampleTest extends PHPUnit_Framework_TestCase{}
  </code></pre>
  
  <p>if so what are the function? the same as the above? will it know to use the example class or do I have to require it?</p>
  
  <p>when it comes to testing with out a framework like zend or something else I am lost....Your help is appreciated.</p>
  
  <p><strong>Note:</strong> I am not using any type of framework (aside from phpunit) so pointing me to zend or cakephp is not going to help. this is simply written from scratch.</p>