🧪 test: add proper coverage measurement to BDD tests with -coverpkg=./... flag
All checks were successful
CI/CD Pipeline / Build Docker Cache (push) Successful in 9s
CI/CD Pipeline / CI Pipeline (push) Successful in 4m52s

This commit is contained in:
2026-04-08 12:56:11 +02:00
parent 43c9dbcd55
commit 7416d5f1c3

View File

@@ -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"