coverage recipe
This commit is contained in:
parent
dfa9bc8117
commit
c1b9721f89
5
Makefile
5
Makefile
|
@ -63,6 +63,11 @@ TUTORIALS=$(shell find docs/guide -name "*md" -type f)
|
|||
#test: test_unit test_cli test_tutorial
|
||||
test: test_unit # test_cli
|
||||
|
||||
# Must be run in each package seperately for the visualization
|
||||
# Added here for easy reference
|
||||
# coverage:
|
||||
# go test -coverprofile=c.out && go tool cover -html=c.out
|
||||
|
||||
test_unit:
|
||||
@rm -rf examples/basecoin/vendor/
|
||||
@go test $(PACKAGES)
|
||||
|
|
Loading…
Reference in New Issue