Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Implementing a Visual CSS Testing Framework

JSConf via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the implementation of a visual CSS testing framework in this conference talk from CSSConf Oakland 2014. Learn about automatic screenshot comparison techniques to catch style regressions, and discover various tools like Huxley, PhantomCSS, and CSSCritic. Dive into the process of building a custom framework, including testing with RSpec, capturing screenshots with Selenium, handling dynamic data, and diffing with ImageMagick. Gain insights on using Amazon Web Services for storage and organization of test results. Understand the future potential of visual CSS testing, including meaningful test assertions, diff comparisons between commits, and branch-specific testing.

Syllabus

Intro
using AUTOMATIC screenshot COMPARISON to catch style REGRESSIONS
IMPLEMENTING A VISUAL CSS TESTING FRAMEWORK
Huxley Phantom CSS Ghost Story Cactus Needle CSSCritic fighting-layout-bugs sikuli Mogo Quixote
WHAT DO I WANT?
PROCESS
VISIT
UPLOAD
BUILDING our framework
TESTING with rspec
SCREENSHOT with selenium
DYNAMIC DATA
DIFFING with imagemagick
amazon web services
#{commit-sha}/ #{area-of-site}/ #{page-name} / #{image-type} .png
lalalalal marketing/ index/ diff.png
VIEWING with the internet
THE FUTURE
MEANINGFUL TEST ASSERTIONS
0% DIFFS
CURRENT commit on MASTER
DIFF BETWEEN PREVIOUS commit on MASTER
DIFF BETWEEN CURRENT commit on BRANCH

Taught by

JSConf

Reviews

Start your review of Implementing a Visual CSS Testing Framework

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.