diff --git a/coverage.sh b/coverage.sh new file mode 100755 index 000000000..df824edc3 --- /dev/null +++ b/coverage.sh @@ -0,0 +1,3 @@ +go test ./... -coverprofile=/tmp/coverage.out; +grep -v "harmony-one/harmony/core" /tmp/coverage.out | grep -v "harmony-one/harmony/internal/trie" | grep -v "harmony-one/harmony/internal/db" | grep -v "harmony-one/harmony/log" > /tmp/coverage1.out +go tool cover -func=/tmp/coverage1.out \ No newline at end of file