Acquia Dev Desktop and the Drupal 7 test runnerPosted on: 2015-11-15 14:01:47
Recently, I tried to run some tests locally and the test runner kept silently failing. Ultimately, it was just giving up during bootstrap. The problem was eventually traced to Acquia's frustrating modification of the settings.php file; it only loads when
$_SERVER['DEVDESKTOP_DRUPAL_SETTINGS_DIR'] is defined.
So in order to make it run, you'll need to:
DEVDESKTOP_DRUPAL_SETTINGS_DIRin your CLI environment or:
run-tests.shto populate that value in
$_SERVERbefore bootstrapping Drupal:
Then the test runner will actually do something useful.