You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Miguel Anzo (Jira)" <ji...@apache.org> on 2021/10/08 16:06:00 UTC

[jira] [Assigned] (BEAM-12645) Report Go Code Coverage

     [ https://issues.apache.org/jira/browse/BEAM-12645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Miguel Anzo reassigned BEAM-12645:
----------------------------------

    Assignee: Miguel Anzo

> 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
>            Assignee: Miguel Anzo
>            Priority: P3
>
> 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)