Skip to content
forked from sprice/classic

Drupal install profile testing with Behat/Mink, Selenium, & TravisCI

Notifications You must be signed in to change notification settings

carsoncho/classic

 
 

Repository files navigation

Classic

No longer maintained by @sprice

A copy of the Drupal 7 Standard profile, with Behat/Mink testing using Travis CI.

Build Status

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.

Files of note

About

Drupal install profile testing with Behat/Mink, Selenium, & TravisCI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Gherkin 73.9%
  • PHP 26.1%