In the world of web development, we have established tools and strategies for automated testing of both server-side code and in-browser JavaScript. Testing CSS, however, is still a time-consuming manual process. I will present current techniques for automating CSS testing, that will speed up development and increase maintainability of large-scale web projects.
While automated CSS testing is still in its early stages, a variety of CSS testing tools are available. Tools for static analysis of CSS go beyond syntax checking and provide statements about code quality. In-browser testing techniques compare rendered HTML or style rules of DOM nodes to predefined references, and hence allow automated regression testing of CSS. With these tools and techniques at hand, what are the next challenges of automated CSS testing?
[vimeo 62274261 480 270]
Video producer: http://www.boosterconf.no/