Skip to content

Commit ace076b

Browse files
committed
Allow extra options to be passed to casper tests
1 parent cb6f34d commit ace076b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Gruntfile.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,14 @@ var path = require('path'),
618618
}
619619
});
620620

621+
if (grunt.option('fail-fast')) {
622+
args.push('--fail-fast');
623+
}
624+
625+
if (grunt.option('concise')) {
626+
args.push('--concise');
627+
}
628+
621629
grunt.util.spawn({
622630
cmd: 'casperjs',
623631
args: args,

0 commit comments

Comments
 (0)