prepend with sudo on mac
pear install --alldeps --force phpunit/phpunit
pear install phpunit/PHPUnit_Selenium
pear install phpunit/phpunit_story
pear install phpunit/dbunit
http://seleniumhq.org/download/ it's runt with; $ java -jar selenium-server-standalone-VERSION_NO.jar
-
Update config/test.php OR create local test config file (if you work in a team). Might want to enable a test database there too. I added this to my tests/bootstrap.php to handle a local config.
//use standard test config if local variant doesn't exist. if (!file_exists($config)) $config=dirname(__FILE__).'/../config/test.php';
-
Update tests/WebTestCase.php similarly to use your local site for testing.