gulp-cucumber icon indicating copy to clipboard operation
gulp-cucumber copied to clipboard

world-parameters

Open apichick opened this issue 7 years ago • 2 comments

Would it be possible to add support for world-parameters?

Thanks

apichick avatar Sep 27 '17 17:09 apichick

Any chances of having this published to the public npm registry? Thanks a lot.

apichick avatar May 03 '18 10:05 apichick

meanwhile this hack worked for me: let runOptions = []; runOptions.push('--world-parameters'); runOptions.push(JSON.stringify({ "test": "value" }));

return gulp.src(globs, { read: false }) .pipe(cucumber({ 'format': format, 'runOptions': runOptions }))...

npopov-d3 avatar Jul 27 '18 23:07 npopov-d3