Behat and Drupal
- Behat Drupal Extension
- Drupal-specific additions:
- region mapping/region scope
- text mapping
- subcontext discovery
- step definitions for common scenarios
The Drivers
Blackbox
- assumes anonymous user
- works with remote sites
Drush
- works with remote sites
- allows user creation
Drupal API
- provides super user privileges
- allows creation of users, nodes, vocabularies/taxonomies
- tag scenarios with
@api
- works only with local sites
Extension via Subcontexts
- Define step-definitions in
*.behat.inc