diff --git a/scripts/run-bdd-tests.sh b/scripts/run-bdd-tests.sh index 2361545..8a31ca6 100755 --- a/scripts/run-bdd-tests.sh +++ b/scripts/run-bdd-tests.sh @@ -94,7 +94,8 @@ else echo "🏗️ CI environment detected, using service configuration" fi -test_output=$(go test ./features/... -v 2>&1) +# Run tests with proper coverage measurement +test_output=$(go test ./features/... -v -cover -coverpkg=./... 2>&1) test_exit_code=$? echo "$test_output"