In this video we will see Drulenium visual regression in action along with Travis CI. We will push a code change to pantheon hosted site and see automated visual tests running in Travis CI.
Visual Regression Testing and Drupal by Nikhil Dubbaka
Breaking is easy, testing is hard. Small, unexpected front-end changes are tough to spot manually and can be a signal for larger problems. Rapid development cycles, large page counts and developer fatigue can make it difficult to catch even visually obvious mistakes before they go live. Enter Drulenium(Drupal + Selenium): the automated process of capturing, tracking, and analyzing screenshots to catch unexpected changes as they happen. This talk will focus on 3 key topics: 1) What is Visual testing, 2) Drulenium 3) hands-on demos. We will describe a serverless solution that will help Drupal community to adopt testing without huge efforts or expensive resources allocation.
Nikhil Dubbaka worked as Drupal lead at edX (https://www.edx.org/) in Boston. He recently moved to NYC and actively looking for opportunities. He goes by TechNikh on Drupal.org and Twitter.
Ever wondered why your website breaks each time you add a new feature? Want to automate testing on your site? don't know coding? No Problem! Drulenium to your rescue!!
Drupal + Selenium = Drulenium
What is Visual Regression Testing?
Well, it's testing your site for the introduction of bugs (regressions) that affect the look of your site. Maybe you added some styling to one of the product pages on your eCommerce site, and after you pushed those changes to production you find out that, inadvertently, you affected the layout of your checkout page. Or a tweak to the footer layout broke the mega menus in a subsection of the site. Visual Regression Testing is the process you go through to catch those types of things that cause us to stay up nights, clicking through your client site after you made changes, hoping you catch them before the client does.
In this session we'll talk about some of the tools available to help us with the tedious and time consuming task of Visual Regression Testing, demo the Drulenium module https://www.drupal.org/project/drulenium