learning_go/go_exporter/Makefile
2025-12-20 08:48:06 +03:00

19 lines
418 B
Makefile

.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