Posted by thewilkybarkid on August 28, 2015 at 10:56am
We had some trouble using the Drupal Extension for Behat as scenarios aren't isolated from each other/what's already there, leading to sporadic failures. To counter this, we've put together an extension which causes each scenario to be run on a fresh install, leading to consistent (but slightly slower) builds. We've released it at https://github.com/elifesciences/isolated-drupal-behat-extension. It may not work with every setup (eg remote, multi-site), and currently only works with Drupal 7 (though as it interacts with your Drupal install through Drush it shouldn't be too much work to add Drupal 6 (and 8 when available) support).