Vancouver, October 5-6, 2012

Behaviour Testing and Continuous Integration with Drupal

Development and Code
Experience Level: 

Have you ever had the client tell you something is broken? Have you ever completed your development cycle on feature X only to have feature Y in a broken heap on the floor? Do you lie in bed thinking, maybe you should make sure that node submits properly for user role X? I'll show how we tackle this scenario using automated quality assurance with continuous integration.

Enter the Behat and Mink PHP libraries with the Travis CI service. Behat is a tool that allows automated testing of your application's features using plain english scenarios. Mink is a library that makes the whole process web friendly. These tools with Travis CI allow us to keep the logic of our application in mind throughout the development process.

I'm going to talk about how we at Affinity Bridge use these tools with Drupal Distributions. I'll talk about how to setup these tools, writing scenarios and the benefit they provide to the project.