From dfac8f995e2fb6a7eb4f80691152372bca42b71f Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Fri, 10 Apr 2026 15:10:52 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20test:=20improve=20failure=20filt?= =?UTF-8?q?ering=20to=20show=20only=20specific=20test=20names?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/validate-test-suite.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/validate-test-suite.sh b/scripts/validate-test-suite.sh index d2a0412..ba062b3 100755 --- a/scripts/validate-test-suite.sh +++ b/scripts/validate-test-suite.sh @@ -161,10 +161,11 @@ else echo "Detailed BDD Failure Log (first 20 lines):" echo "==========================================" # Show only the relevant failure lines with actual test names - grep -E "(FAIL.*Test|--- FAIL)" "$BDD_FAILURE_LOG" | head -20 - - echo - echo "Full failure log saved in: $BDD_FAILURE_LOG" + # Filter out non-specific failures (no '/' means not a specific test) + grep -E "(FAIL.*Test|--- FAIL)" "$BDD_FAILURE_LOG" | \ + grep -v "dance-lessons-coach/features" | \ + grep "/" | \ + head -20 fi echo