docs: update README, Obsidian docs, and gap backlog after test optimization
- Update test count: 286/288 passing (was 222/224) - Document TestMain per-package architecture - Document TruncateTables optimization (~60% faster) - Add local-dev-2.sh tee streaming for real-time test output - Fix flaky admin reserve walk-in tests (time.Now → noon tomorrow) - Add gap backlog item #51 for completed test optimization work
This commit is contained in:
+4
-1
@@ -1021,7 +1021,10 @@ echo -e "${C_GREEN}⏳ Running tests...${C_RESET}"
|
||||
|
||||
cd /home/popertots/Crussell/backend
|
||||
export POSTGRES_USER POSTGRES_PASSWORD POSTGRES_HOST POSTGRES_DB GO_TESTING=1
|
||||
TEST_OUTPUT=$(go test -tags test -v -p 1 -count=1 ./... 2>&1 || true)
|
||||
TEST_OUTPUT_FILE=$(mktemp)
|
||||
go test -tags test -v -p 1 -count=1 ./... 2>&1 | tee "$TEST_OUTPUT_FILE" || true
|
||||
TEST_OUTPUT=$(cat "$TEST_OUTPUT_FILE")
|
||||
rm -f "$TEST_OUTPUT_FILE"
|
||||
cd ..
|
||||
|
||||
TOTAL_TESTS=$(echo "$TEST_OUTPUT" | grep "^=== RUN" | grep -cv "/" || echo "0")
|
||||
|
||||
Reference in New Issue
Block a user