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)
Currently we have to use the gulp-exit plugin to get gulp-cucumber to exit when the tests are done:
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)