From 7416d5f1c31da50e58d86806f91887486de745f0 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Wed, 8 Apr 2026 12:56:11 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20test:=20add=20proper=20coverage?= =?UTF-8?q?=20measurement=20to=20BDD=20tests=20with=20-coverpkg=3D./...=20?= =?UTF-8?q?flag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/run-bdd-tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"