How to set a global before PHPUnit's skeleton-test is run
- by ministerOfPower
We set a global in our prepend file used to form the path for our require_once calls. For example:
require_once($GLOBALS['root'].'/library/particleboard/JsonUtil.php');
Problem is, when I run PHPUnit's skeleton test builder, the prepend file is not run, so the global is never set. When I run
cd /company/trunk/queue/process; phpunit…