CSS regression testing. A CasperJS module for automating visual regression testing with PhantomJS 2 or SlimerJS and Resemble.js. For testing Web apps, live style guides, and responsive layouts. PhantomCSS takes screenshots captured by CasperJS and compares them to baseline images using Resemble.js to test for rgb pixel differences. PhantomCSS then generates image diffs to help you find the cause. Screenshot based regression testing can only work when UI is predictable. It's possible to hide mutable UI components with PhantomCSS but it would be better to test static pages or drive the UI with faked data during test runs.
Features
- There are different ways to take a screenshot
- Compare the images when and how you want
- CSS regression testing
- PhantomCSS takes screenshots captured by CasperJS and compares them to baseline images
- SlimerJS uses the Gecko browser engine rather than Webkit
- Screenshot based regression testing can only work when UI is predictable
Categories
Visual Regression TestingLicense
MIT LicenseFollow PhantomCSS
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of PhantomCSS!