apache/beam

Code coverage numbers are not accurate

Open

#18,194 建立於 2022年6月3日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Java (4,097 fork)batch import
P3bugbuildcoregood first issuejavatests

倉庫指標

Star
 (7,313 star)
PR 合併指標
 (平均合併 6天) (30 天內合併 243 個 PR)

描述

We've started adding Java Code Coverage numbers to PRs using the jacoco gradle plugin.

When we ran this in Maven, we got very low coverage reported for things like the Java SDK core. This was likely because we test the bulk of the SDK not in the SDK module, but in fact in the DirectRunner and other similar modules.

This is the still the case in gradle. So we'll need to make sure to watch for it.

This is a good "random improvement" issue for anyone to pick up.

Imported from Jira BEAM-1399. Original Jira may contain additional context. Reported by: dhalperi.

貢獻者指南