Robert Burke created BEAM-12645:
-----------------------------------
Summary: Report Go Code Coverage
Key: BEAM-12645
URL: https://issues.apache.org/jira/browse/BEAM-12645
Project: Beam
Issue Type: Improvement
Components: sdk-go, testing
Reporter: Robert Burke
It might be nice to have Go test code coverage reported for PRs that affect the
Go SDK.
The go tool reports package level coverage numbers with the -cover flag.
>From sdks/go/pkg/beam one can run `go test -cover ./...` to get each
>package's coverage numbers.
A blog post about that flag, and the related stand alone tool, including
getting coverage profiles:
[https://blog.golang.org/cover
]
It can integrate with the existing python codecov tool as described here:
https://about.codecov.io/blog/getting-started-with-code-coverage-for-golang/
--
This message was sent by Atlassian Jira
(v8.3.4#803005)