With this grunt.js task you can run tests with CasperJS.
-
Call
grunt.loadNpmTasks('grunt-casperjs')
in your gruntfile. -
Add the following to your configuration file:
casperjs: { files: ['tests/casperjs/**/*.js'] },
-
Run
grunt
orgrunt casperjs
and your CasperJS test are running in grunt.js :)