apache / apache/beam

Increase unit testing coverage in the dataflowlib package

Open
#21,388 3 comments 0 reactions 0 assignees View on GitHub
go P2 sub-task
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Increase unit testing coverage in the [dataflowlib package](https://github.com/apache/beam/tree/release-2.36.0/sdks/go/pkg/beam/runners/dataflow/dataflowlib)

We want code coverage at or above 50%, it is currently at 17.2%.

There are plenty of helper functions to unit test, but a more thorough testing suite will require mocking interactions with Dataflow.

Imported from Jira [BEAM-13914](https://issues.apache.org/jira/browse/BEAM-13914). Original Jira may contain additional context.
Reported by: jrmccluskey.
Subtask of issue #21383

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.