grunt-cucumber-js icon indicating copy to clipboard operation
grunt-cucumber-js copied to clipboard

'Support' directory not.... supported

Open jfstephe opened this issue 10 years ago • 2 comments

Hi, cucumberjs has the support directories which can house the hooks etc. There is no way to parameterize this in the plugin at the moment. If I'm missing something please let me know, else I'm happy to create a pull request with this feature.

Something like adding: if (! _.isEmpty(support)) { execOptions.push('-r'); execOptions.push(support); }

Thanks, John

jfstephe avatar Mar 11 '14 14:03 jfstephe

any workarounds?

dynnamitt avatar Jan 21 '15 13:01 dynnamitt

if i put the parent dir (containing both steps and support) into gruntfile config it seems to work

dynnamitt avatar Jan 21 '15 13:01 dynnamitt