diff --git a/lib/frameworks/cucumber.js b/lib/frameworks/cucumber.js index 964ff98d1..251ade5b0 100644 --- a/lib/frameworks/cucumber.js +++ b/lib/frameworks/cucumber.js @@ -49,6 +49,11 @@ exports.run = function(runner, specs, done) { execOptions.push('-f'); execOptions.push(runner.getConfig().cucumberOpts.format); } + + // Process Cucumber 'coffee' param + if (runner.getConfig().cucumberOpts.coffee) { + execOptions.push('--coffee'); + } } global.cucumber = Cucumber.Cli(execOptions);