RailsConf 2015 - Implementing a Visual CSS Testing Framework

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=Q4ttqkIEM7g



Duration: 30:06
1,132 views
14


by Jessica Dillon

Working with large CSS codebases can be hard. Large-scale refactors, or even just tweaking styles on our more general elements, could end up having unintended consequences on the rest of the site. To catch these problems, we manually check every page on our site, which is a slow and error-prone approach. We need a better way to test our CSS. This talk will walk through how we implemented a visual CSS testing framework using RSpec & Selenium, using automatic screenshot comparison to catch style regressions.

Help us caption & translate this video!

http://amara.org/v/G8uY/