Texas Camp 2019 | Visual Regression Testing with BackstopJS
Presenter: David Needham
How do you tell if a change you made to your website has unintended side effects? Security updates should rarely result in anything changing visually, but how can you be sure? Visual regression testing automates the comparison process by taking screenshots of two URLs and comparing them. You can view a report that highlights the differences and use the pass/fail result to make decisions. In this workshop, we will use the BackstopJS visual regression tool locally, via Node JS, to automate visual QA. We will also learn how to scale and automate these tests across multiple sites and URLs. Key takeaways: - Writing tests can be easy. - Tests will dramatically improve the quality of my work and build confidence that I’m not introducing bugs. - BackstopJS is an easy to learn solution for detecting visual differences between two versions of a site.
How do you tell if a change you made to your website has unintended side effects? Security updates should rarely result in anything changing visually, but how can you be sure? Visual regression testing automates the comparison process by taking screenshots of two URLs and comparing them. You can view a report that highlights the differences and use the pass/fail result to make decisions. In this workshop, we will use the BackstopJS visual regression tool locally, via Node JS, to automate visual QA. We will also learn how to scale and automate these tests across multiple sites and URLs. Key takeaways: - Writing tests can be easy. - Tests will dramatically improve the quality of my work and build confidence that I’m not introducing bugs. - BackstopJS is an easy to learn solution for detecting visual differences between two versions of a site.