From ace076b253be91269a6204341412826b0b6ba0c6 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Wed, 4 Jun 2014 22:28:54 +0100 Subject: [PATCH] Allow extra options to be passed to casper tests --- Gruntfile.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 9204c15a7d..30c0b93fdc 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -618,6 +618,14 @@ var path = require('path'), } }); + if (grunt.option('fail-fast')) { + args.push('--fail-fast'); + } + + if (grunt.option('concise')) { + args.push('--concise'); + } + grunt.util.spawn({ cmd: 'casperjs', args: args,