🐛 fix: add -coverprofile flag to BDD tests to generate coverage.out file for CI

This commit is contained in:
2026-04-08 13:23:13 +02:00
parent 4191bff5ef
commit 2b28970105

View File

@@ -95,7 +95,7 @@ else
fi
# Run tests with proper coverage measurement
test_output=$(go test ./features/... -v -cover -coverpkg=./... 2>&1)
test_output=$(go test ./features/... -v -cover -coverpkg=./... -coverprofile=coverage.out 2>&1)
test_exit_code=$?
echo "$test_output"