Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/edd/visual-regression-test

Uses grunt-phantomcss to do browser-based pdiff testing
https://github.com/edd/visual-regression-test

Last synced: about 2 months ago
JSON representation

Uses grunt-phantomcss to do browser-based pdiff testing

Awesome Lists containing this project

README

        

# Visual Regression Test

A project that uses CasperJS with PhantomCSS to perform visual regression tests.

-----------------------

To use it:

Clone the repository:

git clone https://github.com/Matt-B/visual-regression-test.git

Install dependencies:

npm install

Specify your tests in test-config.json in the following format:

{
"name": "smartphone-portrait", #The name of the test
"path": "http://www.7digital.com", #The URL to be tested
"selector": "body", #The CSS selector for the element on the page which will be tested
"viewport": [1024, 768] #Viewport [width, height]
},

Then run the tests:

grunt