Skip to content
/ css-unit Public

DRAFT: Visual Unit Tester for CSS. A bit of HTML exercises your CSS; CSS-Unit compares before and after.

Notifications You must be signed in to change notification settings

leff/css-unit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS Unit

Visual regression unit testing for HTML/CSS.

Work in progress.

TL;DR

Basic plan: Exercise a small bit of HTML+CSS by rendering it in a browser. Take a screenshot and store it. Compare future runs against the stored screenshot.

CSS Unit's part of the plan is to do the rendering, taking the screenshots, and comparing a new screenshot against an old one. It only handles one file at a time, and it doesn't persist the screenshots in any way. Clients of css-unit are responsible for that stuff.

Usage with gulp provided by https://github.com/leff/gulp-css-unit.

About

DRAFT: Visual Unit Tester for CSS. A bit of HTML exercises your CSS; CSS-Unit compares before and after.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published