title: PHPUnit inclusion path issues
body: <p>This one's got me stumped. I've been working with PHPUnit for a couple of months now, so I'm not that green...but I look forward to being pointed in the direction of the obvious mistake I'm making! The initialisation process outlined below works fine if I run the "app" from a browser - but PHPUnit is choking...can any one put me out of my misery?</p>
  
  <p>I'm trying to test a homebrew MVC, for study purposes. It follows a typical ZF layout.
  Here's the index page:</p>
  
  <pre><code>include './../library/SKL/Application.php';
  $SKL_Application = new SKL_Application();
  $SKL_Application-&gt;initialise('./../application/configs/config.ini');
  </code></pre>
  
  <p>Here's the application class (early days...)</p>
  
  <pre><code>include 'bootstrap.php';
  
  class SKL_Application {
  
      /**
       * initialises the application
       */
      public function initialise($file) {
          $this-&gt;processBootstrap();
          //purely to test PHPUnit is working as expected
          return true;
      }
  
     /**
      * iterates over bootstrap class and executes 
      * all methods prefixed with "_init"
      */
      private function processBootstrap() {
          $Bootstrap = new Bootstrap();
          $bootstrap_methods = get_class_methods($Bootstrap);
  
          foreach ($bootstrap_methods as $method) {
              if(substr($method,0,5) == '_init'){
                  $bootstrap-&gt;$method();
              }
          }
          return true;
      }
  }
  </code></pre>
  
  <p>Here's the test:</p>
  
  <pre><code>require_once dirname(__FILE__).'/../../../public/bootstrap.php';
  require_once dirname(__FILE__).'/../../../library/SKL/Application.php';
  
  
  class SKL_ApplicationTest extends PHPUnit_Framework_TestCase {
     protected $object;
  
  
     protected function setUp() {
         $this-&gt;object = new SKL_Application();
     }
  
     /**
      * Tears down the fixture, for example, closes a network connection.
      * This method is called after a test is executed.
      */
     protected function tearDown() {
     }
  
  
     public function testInitialise() {
         $this-&gt;assertType('boolean',$this-&gt;object-&gt;initialise());
  
     }
  
  }
  </code></pre>
  
  <p>But I keep stumbling at the first hurdle!!</p>
  
  <pre><code>PHP Warning:  include(bootstrap.php): failed to open stream: 
  No such file or directory in path\to\files\SKL\Application.php on line 9
  </code></pre>
  
  <p>any ideas?</p>