Prechádzať zdrojové kódy

Add make test target

Jackson Tian 7 rokov pred
rodič
commit
2957c35335
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -3,3 +3,7 @@ all:
 
 fmt:
 	go fmt ./sdk ./integration ./services/...
+
+test:
+	go test -coverprofile=coverage.txt -covermode=atomic ./sdk
+	go tool cover -html=coverage.txt -o coverage.html