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

gulp-cucumber does not exit when done #41

Open
joniba opened this issue Mar 1, 2017 · 0 comments
Open

gulp-cucumber does not exit when done #41

joniba opened this issue Mar 1, 2017 · 0 comments

Comments

@joniba
Copy link

joniba commented Mar 1, 2017

Currently we have to use the gulp-exit plugin to get gulp-cucumber to exit when the tests are done:

var gulp = require('gulp'),
    plugins = require('gulp-load-plugins')();

gulp.task('cucumber', ['env-test'], function () {
    return gulp.src('features/*')
        .pipe(plugins.cucumber({
            'steps': 'features/**/*.steps.js',
            'support': 'features/support/*.js',
            'format': 'pretty',
            'tags': '~@ignore'
        }))
        .pipe(plugins.exit());
});

Perhaps for this reason we also do not get exit code 1 when cucumber tests fail. How are others using this plugin?

(Tried both 0.0.14 and 0.0.22)

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

1 participant