diff --git a/scripts/run-bdd-tests.sh b/scripts/run-bdd-tests.sh index 30c72a5..2f95df1 100755 --- a/scripts/run-bdd-tests.sh +++ b/scripts/run-bdd-tests.sh @@ -95,8 +95,10 @@ else fi # Run tests with proper coverage measurement +set +e test_output=$(go test ./features/... -v -cover -coverpkg=./... -coverprofile=coverage.out 2>&1) test_exit_code=$? +set -e echo "$test_output"