When I run codeception manually from the command line, it shows each step of each test as it completes. However, when I use gulp-codeception it doesn't show any of the output until all tests are completely finished and then shows everything all at once. I know it's not a big deal, but it would be nice to see the progress as it's running. Here's my task:
gulp.task('acceptance-test', function() {
gulp.src('')
.pipe(shell('clear'))
.pipe(codecept('', { 'flags': '--steps', notify: true } ))
.on('error', notify.onError({
title: "Failure",
message: "Your acceptance tests failed!",
icon: __dirname + "/build/fail.png"
}))
.pipe(notify({
title: "Success",
message: "All acceptance tests have passed!",
icon: __dirname + "/build/success.png"
}));
});
When I run codeception manually from the command line, it shows each step of each test as it completes. However, when I use gulp-codeception it doesn't show any of the output until all tests are completely finished and then shows everything all at once. I know it's not a big deal, but it would be nice to see the progress as it's running. Here's my task: