interfaces

This commit is contained in:
a.pivkin
2025-12-20 08:48:06 +03:00
parent 05bd6f3c03
commit 4833874324
8 changed files with 178 additions and 11 deletions
+19
View File
@@ -0,0 +1,19 @@
.PHONY: test test-unit test-integration test-coverage
test-unit:
go test -v -short ./...
test-integration:
go test -v -tags=integration ./...
test-coverage:
go test -v -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html
test: test-unit
clean:
rm -f coverage.out coverage.html
total-rm:
rm -f main_test.go metrics_test.go pool_test.go types_test.go integration_test.go mock.go