Created
June 18, 2014 09:44
-
-
Save stefanjudis/bfb5ca9506c08f199cb2 to your computer and use it in GitHub Desktop.
Go for it simon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* grunt-casperjs configuration | |
* | |
* https://npmjs.org/package/grunt-casperjs | |
*/ | |
'use strict'; | |
module.exports = function () { | |
return { | |
dev : { | |
options : { | |
async : { | |
parallel : false | |
}, | |
casperjsOptions : [ | |
'--url=<%= grunt.config(\'testUrl\') %>', | |
'--web-security=no', | |
'--ignore-ssl-errors=yes', | |
'--xunit=xunit.xml', | |
'--cookies-file=/tmp/casperjs-cookies.txt' | |
] | |
}, | |
src : ['<%= pkg.testing.dir %>/all.js'] | |
}, | |
production : { | |
options : { | |
async : { | |
parallel : false | |
}, | |
casperjsOptions : [ | |
'--url=<%= grunt.config(\'testUrl\') %>', | |
'--web-security=no', | |
'--ignore-ssl-errors=yes', | |
'--xunit=xunit.xml', | |
'--cookies-file=/tmp/casperjs-cookies.txt', | |
'--production=hellYeah!!!!!' | |
] | |
}, | |
src : ['<%= pkg.testing.dir %>/all.js'] | |
} | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment