This package is abandoned and no longer maintained. The author suggests using the drupal/tqextension package instead.

Drupal context by Propeople for Behat

1.2.3 2015-04-09 09:51 UTC

This package is auto-updated.

Last update: 2019-02-20 19:39:42 UTC


Behat context by Propeople

The Propeople Drupal Context provide a flexible methods for testing websites, running on Drupal 7. The contexts in this repository extend the contexts of DrupalExtension.

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads Latest Unstable Version License


  • Install Composer.
  • Navigate to folder with your Drupal project. Would be better if a project has the similar structure:
|-- docroot
|   |-- [drupal installation without any custom files]
|   |-- [...]
|-- [another folders and files e.g. tests, scripts etc.]
|-- [...]
  • Create the composer.json file:
  "require": {
    "behat/drupal-propeople-context": "~1.2"
  "config": {
    "bin-dir": "bin/"
  "scripts": {
    "post-install-cmd": "mv bin/bdpc bin/behat"
  • Execute the composer install command.
  • Initialize the basic context and configuration by executing the bin/behat --init --url= Also, command can take the dir parameter if the Drupal installation located above current folder. For example bin/behat --init --url=http://project.loc --dir=docroot.
  • Configure the behat.yml if needed.
  • Read the documentation about creating the features.

We are using