Skip to content

Conversation

@NitinKumar004
Copy link
Contributor

@NitinKumar004 NitinKumar004 commented Oct 31, 2025

Description:

The Google Cloud Pub/Sub datasource package currently has 44.5% test coverage. This package is a critical component for handling pub/sub messaging with Google Cloud Platform and requires comprehensive test coverage to ensure reliability and maintainability.

Improve test coverage for /pkg/gofr/datasource/pubsub/google package as much as possible. The goal is to maximize coverage for all code (excluding auto-generated mocks) while ensuring quality and meaningful tests.
Before :
image
Now:
image
closes #2481
Checklist:

  • I have formatted my code using goimport and golangci-lint.
  • All new code is covered by unit tests.
  • This PR does not decrease the overall code coverage.
  • I have reviewed the code comments and documentation for clarity.

@Umang01-hash Umang01-hash merged commit 5860444 into gofr-dev:development Nov 7, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Testing Coverage in gofr/pkg/gofr/datasource/pubsub/google file

3 participants