apache / apache/beam

Add unit tests to the gcsproxy package

Open
#21,389 0 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

Add unit testing to the [gcsproxy package](https://github.com/apache/beam/tree/release-2.36.0/sdks/go/pkg/beam/artifact/gcsproxy)

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

This task requires mocking GCS interactions.

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

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the gcsproxy package at sdks/go/pkg/beam/artifact/gcsproxy and identify its GCS interactions and testable entry points. Run the package's Go tests with coverage after adding mocks for those interactions; done means unit tests are present and coverage is at least 50%.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, google-cloud
Domain
cloud, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.