Run your phantomCSS tests with Gulp.
Uninstall global node installations of casperjs and phantomjs
npm install gulp-phantomcss -D
var gulp = ;var phantomcss = ;gulp;
Example ./testsuite.js :
Options passed in to the plugin will be forwarded on to phantomcss, these include:
Directory where screenshot test fixtures are stored.
Directory where source, diff and failure screenshots are stored.
If true, gulp task will exit with error code if there are any failing tests.
The following options passed in to the plugin will be forwarded on to casperjs, these include:
Viewport size to run the test in. Useful for running tests for multiple window sizes.
Log level for CasperJS, see CasperJS: Logging for more information.
Run tests with