Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always looks for 'features' folder #40

Open
ghost opened this issue Oct 29, 2016 · 0 comments
Open

Always looks for 'features' folder #40

ghost opened this issue Oct 29, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 29, 2016

Hi 😄,

My gulp task looks like below:

gulp.task('test:acceptance', function() {
    return gulp.src('test/*').pipe(cucumber({
        'steps': 'test/functional/*.js',
        'support': 'test/functional/support/*.js',
    }));
});

But I keep getting the below error:

fs.js:1574
  return binding.realpath(pathModule._makeLong(path), options.encoding);
                 ^

Error: ENOENT: no such file or directory, realpath 'features'
    at Error (native)
    at Object.realpathSync (fs.js:1574:18)
    at Object.expandPathWithExtensions (/Users/Marthinus/Code/global-web/sbg-module-generator/node_modules/gulp-cucumber/node_modules/cucumber/lib/cucumber/cli/path_expander.js:15:23)
    at /Users/Marthinus/Code/global-web/sbg-module-generator/node_modules/gulp-cucumber/node_modules/cucumber/lib/cucumber/cli/path_expander.js:9:27
    at Array.map (native)
    at Object.expandPathsWithExtensions (/Users/Marthinus/Code/global-web/sbg-module-generator/node_modules/gulp-cucumber/node_modules/cucumber/lib/cucumber/cli/path_expander.js:7:31)
    at Object.expandPaths (/Users/Marthinus/Code/global-web/sbg-module-generator/node_modules/gulp-cucumber/node_modules/cucumber/lib/cucumber/cli/feature_path_expander.js:9:38)
    at Function.Configuration (/Users/Marthinus/Code/global-web/sbg-module-generator/node_modules/gulp-cucumber/node_modules/cucumber/lib/cucumber/cli/configuration.js:21:63)
    at getConfiguration (/Users/Marthinus/Code/global-web/sbg-module-generator/node_modules/gulp-cucumber/node_modules/cucumber/lib/cucumber/cli.js:63:38)
    at Object.run (/Users/Marthinus/Code/global-web/sbg-module-generator/node_modules/gulp-cucumber/node_modules/cucumber/lib/cucumber/cli.js:69:27)

My modules folder structure is:

root 
| ----- test 
            |-----functional 
                      |---folder_with_tests
                      |---another_folder_with_tests
                      |---support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants