🧪 test: improve failure filtering to show only specific test names
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user