1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 15:04:42 +00:00

Test extensive coverage and improvement

This commit is contained in:
Tw93
2025-12-11 11:31:09 +08:00
parent 9514b54554
commit dd841891ad
10 changed files with 1293 additions and 309 deletions

View File

@@ -66,7 +66,7 @@ echo ""
# 4. Go Tests
echo "4. Running Go tests..."
if command -v go > /dev/null 2>&1; then
if go build ./... && go vet ./cmd/...; then
if go build ./... && go vet ./cmd/... && go test ./cmd/...; then
echo -e "${GREEN}✓ Go tests passed${NC}"
else
echo -e "${RED}✗ Go tests failed${NC}"