Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages