This commit is contained in:
Seif Ghazi 2025-08-04 22:01:42 -04:00
parent 4675fee4a3
commit cc6e1d80bf
No known key found for this signature in database
GPG key ID: 4519A4B1EEC1494E
3 changed files with 4 additions and 60 deletions

View file

@ -1,4 +1,4 @@
.PHONY: all build run clean install dev test test-proxy test-coverage
.PHONY: all build run clean install dev
# Default target
all: install build
@ -43,19 +43,6 @@ clean:
rm -f requests.db
rm -rf requests/
# Testing
test: test-proxy
test-proxy:
@echo "🧪 Running proxy tests..."
cd proxy && go test -v ./...
test-coverage:
@echo "📊 Running tests with coverage..."
cd proxy && go test -v -coverprofile=coverage.out ./...
cd proxy && go tool cover -html=coverage.out -o coverage.html
@echo "📊 Coverage report generated: proxy/coverage.html"
# Database operations
db-reset:
@echo "🗑️ Resetting database..."