classic
classic copied to clipboard
Drupal install profile testing with Behat/Mink, Selenium, & TravisCI
Classic
No longer maintained by @sprice
A copy of the Drupal 7 Standard profile, with Behat/Mink testing using Travis CI.
Installation
# Create Drupal codebase
drush make https://raw.github.com/sprice/classic/master/build-classic.make public_html
# Install Drupal
cd public_html
drush si classic --sites-subdir=default --db-url=mysql://USERNAME:PASSWORD@localhost/DB_NAME --account-name=admin --account-pass=classic [email protected] --site-name="Drupal Classic Profile" --yes
# Install testing tools
cd profiles/classic/tests/behat
curl -s http://getcomposer.org/installer | php
php composer.phar install
Configure Behat
Modify /profiles/classic/tests/behat/behat.yml
Set base_url
to your local host
# Run tests
cd /profiles/classic/tests/behat
./bin/behat
Create behat.local.yml
from the example file and set your drush alias for the site.