The problem
Imagine never having to click around your website after a site update, worrying that something may have broken. Imagine never getting a call from a client after a site update, telling you that something in fact has broken.
What if instead you could script all the actions that you would normally do by clicking and have those automatically run each time you push new code to your code repository?
All this is possible using Behat, Mink, Drupal Extension, and Travis CI.
This past week I've spent some time creating a proof of concept test suite for a Drupal distribution. I began with the Drupal 7 standard install profile. This will be a walkthrough of the additions I made to add testing to the distribution.
The code
Follow along with the code in my [Classic] GitHub repository.
The tools
Behat
Behat is a PHP framework for [Behaviour Driven Development] (BDD).