Behavior Driven Development with Drupal – Behat module released

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
al.ex's picture

Hi there Testing group!

I'm happy to announce the release of the Behat integration module which allows developers to write tests for a Drupal site (or module) in "BDD"-style. BDD is a methodology for writing software features "outside in", i.e. using plain language to describe a feature's behavior first and the actual test code second. Find more information on BDD at http://bdd.alexo.it.

Behat (http://behat.org) is a BDD framework written in PHP and is very similar to Cucumber, a popular BDD framework used in the Ruby community. The Behat module integrates the - externally maintained - Behat library to work within a Drupal environment and allows for usage of SimpleTest API functions and assertions in step definitions. More features are being planned (http://drupal.org/node/1377382).

The current integration is by no means perfect, but it's a start. That's why I'm hoping for feedback on potential setup issues and help on tasks outlined in the issue queue.

Cheers,
-Alex