Automatically testing your site for visual regression.
In the latest years we have witnessed an increasing focus on automating software tests. One of the main problems when testing a website is defining exactly what to test, visual regression measures the visual difference between two sites (or different versions of the same site) without relaying on human (and therefore time consuming and prone to failure) intervention. This kind of visual regressions can be symptoms of more critical issues on your site, throughout the first phases of development until the final phase of deployment, were different environments can cause unexpected problems.
In this sessions we will explore how to implement visual regression tests using tailor-made tools like Wraith and headless browsers like PhantomJs and CasperJs. We will focus on different ways of using this tools and how to manipulate the tests to obtain meaningful results.