Home ›
Behavior Driven Development with DrupalBehavior Driven Development with Drupal
Submitted by Benjamin Melançon on November 4, 2011 - 10:22am
Link Title and URL:
Behavior Driven Development with Drupal Behavior Driven Development is a workflow for writing your Drupal modules "outside-in"
1. describe the behavior of a feature in plain language
2. write step definitions using Simpletest API
4. write code to make the step pass
Behavior Driven Development in Drupal is not yet widely discussed, http://bdd.alexo.it is the one description, where Alex Wilde also provides an example Drupal module making use of the Behat BDD framework. The other mentions are Steven Merrill gave a talk about it at DrupalCon Chicago (but has no links to resources in the session description) and there is an old Drupal 6 module wrapping the JSpec JavaScript Behavior-Driven Development Framework.
More like this
- Testing a patch and adding a simpletest
- Cloning git locally to test a Drupal module in development on multiple sites
- Testing assisting module: set configurations through site's URL
- This'll test #32's special character removal & I'll be happy!
- Restarting Apache the safe way: test first (ironically, discovered accidentally)


Comments
Post new comment