Bummer! This is just a preview. You need to be signed in with a Pro account to view the entire video.
Rising Star: Implementing a CSS Testing Framework27:37 with 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. This talk will go over figuring out exactly what we needed to create a framework that would catch style regressions, and then creating it.
You need to sign up for Treehouse in order to download course files.Sign up