Skip to content

gulp-cucumber does not exit when done #41

Description

@joniba

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions