Skip to content

Instantly share code, notes, and snippets.

View lexsoft00's full-sized avatar
🎯
Focusing

Alex lexsoft00

🎯
Focusing
  • London
View GitHub Profile
@satujamsaja
satujamsaja / behat.yml
Created November 8, 2016 07:53
This is example local behat.yml
default:
suites:
default:
contexts:
- FeatureContext
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\DrushContext
extensions:
@satujamsaja
satujamsaja / behatlocalsetup.txt
Last active November 4, 2022 10:05
Setting up Behat for local testing with Acquia DevDekstop Windows
1. Install Acquia DevDesktop
2. Install, setup and configure new Drupal 8 Site
3. Make sure composer from Acquia DevDesktop working and make use of PHP 5.6
- Modify C:\Program Files (x86)\DevDesktop\tools\composer.bat
- Make modification to @SET PATH=C:\Program Files (x86)\DevDesktop\php5_6;%PATH% php.exe "C:\Program Files (x86)\DevDesktop\tools\composer.phar" %*
- Add C:\Program Files (x86)\DevDesktop\tools to windows Path environtment variable so composer can be executed on command prompt
4. Modify "settings.php" to load database config directly, not from included settings
- Find Acquia DevDesktop settings file on C:\Users\user.name\.acquia\DevDesktop\DrupalSettings
- Find and comment out below line for .inc include. Example below: