github.com/nyan233/littlerpc@v0.4.6-0.20230316182519-0c8d5c48abaf/makefile (about) 1 2 cover-test: 3 #go test -coverprofile=coverage.txt -covermode=atomic -v ./... 4 # all cover 5 go test -coverprofile=all.cover.out -covermode=atomic -v ./... 6 # client&server&common cover 7 go test -coverprofile=impl.cover.out -coverpkg="./core/client,./core/server,./core/common" -covermode=atomic -v -run=Test* ./test 8 # 合并测试覆盖率 9 sh merge_cover.sh 10 11 .PHONY:test 12 test: 13 go test -v ./... 14 15 race-test: 16 go test -race -v ./... 17 18 test-fuzz: 19 go test -fuzz -v ./... 20 21 test-bench: 22 go test -bench -v ./... 23 24 test-example: