Now lets create a simple test script that we can use to run various tests as we learn about the features of Doctrine.
Create a new file in the doctrine_test directory named test.php and place the following code inside:
// test.php
require_once('bootstrap.php');
echo Doctrine_Core::getPath();
Now you can execute the test script from your command line. This is how we will perform tests with Doctrine throughout the chapters so make sure it is working for you! It should output the path to your Doctrine installation.
$ php test.php
/path/to/doctrine/lib