Quantcast
Channel: Affinity Bridge | Vancouver Drupal Developers - pnwdrupalsummit
Viewing all articles
Browse latest Browse all 9

We Talked About Behaviour Testing and Continuous Integration with Drupal

$
0
0

Behaviour Testing and Continuous Integration with Drupal - Smith Milner Affinity Bridge PNWDS from Mack Hardy on Vimeo.

PNWDS Example Code

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 talked about how we at Affinity Bridge use these tools with Drupal Distributions, how to setup these tools, writing scenarios and the benefit they provide to the project.



Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images