Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/edd/visual-regression-test
- Owner: edd
- Created: 2015-02-03T14:58:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-03T16:04:17.000Z (almost 10 years ago)
- Last Synced: 2023-03-22T23:11:00.121Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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