Community

BDD - Feature Testing for Drupal.org

Last updated February 1, 2013.

Drupal.org becomes more awesome as we build and deploy features that help us collaborate and communicate better. Toward this end, we've adopted the Behat, a PHP-based implementation of Behavior Driven Development (BDD). BDD does two important things:

  • It helps ensure that the introduction of features doesn't break existing functionality.
  • It documents how the features of Drupal.org work in plain language.

The purpose of this page is to clarify Drupal.org-specific details and decisions. As of September 8, 2012, we've made tentative decisions on many fronts. To participate in the process, join us in the issue queue: http://drupal.org/project/issues/doobie

Supporting Resources:

Feature Syntax:
Looking into BDD, you'll discover more than one syntax for writing Feature: section. For the sake of consistency, we've chosen to follow the syntax outlined in the Behat documentation at http://docs.behat.org/guides/1.gherkin.html