This project is not covered by Drupal’s security advisory policy.

This module

  • Provides a common way for modules to register themselves as having Behat tests
  • Provides a test discovery mechanism to find out what features/scenarios are available
  • Provides a test-runner to execute Behat tests via drush or admin UI

Look at the attached diagram for a high-level overview of how this module will be implemented.


This module can not be enabled via the UI. You MUST use drush to enable it. The steps are:

  1. Ensure you have $base_url set in your settings.php file
  2. drush en -y behatrunner
  3. drush brun (this actually runs the behat tests)

Screencast Tutorial

This Behat Runner tutorial will walk you through:

  • Enabling the module
  • Running behat tests
  • Implementing custom behat tests
  • Running javascript tests in Selenium2

Drupal 8

Work on a Drupal 8 version of this module is being worked on here:

Goals for D8 integration:

Project information