test
This commit is contained in:
@@ -70,6 +70,11 @@ clean:
|
||||
@rm -rf workspace_*
|
||||
|
||||
.PHONY: test
|
||||
test_%:
|
||||
go test oc-deploy/$(subst test_,,$@) -coverprofile=.coverage.out -v
|
||||
@go tool cover -html=.coverage.out -o .coverage.html
|
||||
|
||||
test:
|
||||
@go test ./... -coverprofile=.coverage.out -v
|
||||
go tool cover -html=.coverage.out -o .coverage.html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user