🧪 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 "Detailed BDD Failure Log (first 20 lines):"
|
||||||
echo "=========================================="
|
echo "=========================================="
|
||||||
# Show only the relevant failure lines with actual test names
|
# Show only the relevant failure lines with actual test names
|
||||||
grep -E "(FAIL.*Test|--- FAIL)" "$BDD_FAILURE_LOG" | head -20
|
# Filter out non-specific failures (no '/' means not a specific test)
|
||||||
|
grep -E "(FAIL.*Test|--- FAIL)" "$BDD_FAILURE_LOG" | \
|
||||||
echo
|
grep -v "dance-lessons-coach/features" | \
|
||||||
echo "Full failure log saved in: $BDD_FAILURE_LOG"
|
grep "/" | \
|
||||||
|
head -20
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user