🧪 test: add proper coverage measurement to BDD tests with -coverpkg=./... flag
This commit is contained in:
@@ -94,7 +94,8 @@ else
|
|||||||
echo "🏗️ CI environment detected, using service configuration"
|
echo "🏗️ CI environment detected, using service configuration"
|
||||||
fi
|
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=$?
|
test_exit_code=$?
|
||||||
|
|
||||||
echo "$test_output"
|
echo "$test_output"
|
||||||
|
|||||||
Reference in New Issue
Block a user