visdiff-static
a visual-testing tool to find diffs between static html files.
This is a simpler version of visreg-static.
No SVN, just compare 2 folders.
Once you give this 2 folder, this renders html files inside the folder by using a headless browser, and compare the result to output a diff image.
Might be useful to check unexpected side-effects when you change css files, but dont want to use SVN.
REQUIREMENTS
- Node v7.6.0
Essential for async/await.
INSTALLATION & USAGE
npm i -g visdiff-static
visdiff-static <targetFolder> <anotherFolder>
// targetFolder = full path to where your .html files are stored.
OR if you dont want to corrupt your global package:
cd /some/folder/you/would/like
git clone https://github.com/setsuyaosumi/visdiff-static.git
cd visdiff-static
npm i
npm run visdiff-static <targetFolder> <anotherFolder>
// targetFolder = full path to where your .html files are stored.
OUTPUT
Output images are inside:
currentDirectory/diff