Aegir and Drulenium for testing Drupal core

Using Hosting Drulenium on Aegir to do automated visual testing

Nikhil Dubbaka (TechNikh) (currently Drupal lead at edx.org) on using Aegir and Drulenium for testing Drupal core Hosting Drulenium

Drulenium Visual/CSS regression testing concept:

  • The system takes Image screenshots of web pages, before code changes are applied.
  • The system takes another set of Image screenshots of web pages, after the code changes
  • The system calculates the difference of image pixels that changed and generates an animated GIF to look at

Automation example:

  • Infrastructure setup
  • Flow
    • Pull request made from a feature branch against develop branch will trigger the process
    • pre deployment
      • database will be copied from stage to dev
      • Image snapshots of configured web pages are generated
    • PR patch applied to dev
    • Post deployment
      • Image snapshots of configured web pages are generated
      • Image differences with last version of snapshots are calculated and animated GIF's are generated for readability.

In this session we will show how Drupal project code is being tested for visual changes and how you can setup the same for your own project.

This session is part of the Aegir Summit: Commercial Free Software Drupal Hosting with Drupal, Drush & Aegir

Presenter(s): 
Track(s): 
Skill Level(s): 
Audience(s):