🐛 fix: add -coverprofile flag to BDD tests to generate coverage.out file for CI
This commit is contained in:
@@ -95,7 +95,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Run tests with proper coverage measurement
|
# 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=$?
|
test_exit_code=$?
|
||||||
|
|
||||||
echo "$test_output"
|
echo "$test_output"
|
||||||
|
|||||||
Reference in New Issue
Block a user