SkillAgentSearch skills...

Classic

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

Install / Use

/learn @sprice/Classic
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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 --site-mail=admin@example.com --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

Related Skills

View on GitHub
GitHub Stars19
CategoryDevelopment
Updated1y ago
Forks8

Languages

PHP

Security Score

60/100

Audited on Sep 2, 2024

No findings