You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add unit tests for ProxyService and Server components
- Implement comprehensive tests for ProxyService including handler, caching, circuit breaker, retry logic, streaming responses, error handling, and concurrent requests.
- Introduce tests for Server creation, configuration, worker pool functionality, HTTP client timeout handling, and memory management.
- Ensure proper handling of various request scenarios and validate server routes and concurrency.
- Utilize mock servers and helper functions to simulate and validate expected behaviors.
Copy file name to clipboardExpand all lines: Makefile
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,15 @@ BINARY=github-copilot-svcs
2
2
CMD_PATH=./cmd/github-copilot-svcs
3
3
VERSION?=dev
4
4
5
-
.PHONY: build test test-unit test-integration test-e2e test-all clean run dev
5
+
.PHONY: build test test-unit test-integration test-e2e test-all clean run dev lint fmt vet deps update-deps security mocks docker-build docker-run help test-coverage test-short test-verbose
6
6
7
7
# Build the binary
8
8
build:
9
9
go build -ldflags="-s -w -X main.version=$(VERSION)" -o $(BINARY)$(CMD_PATH)
10
10
11
11
# Run the application
12
12
run: build
13
-
./$(BINARY)
13
+
./$(BINARY) start
14
14
15
15
# Development server with hot reload (requires air: go install github.com/cosmtrek/air@latest)
0 commit comments