8000 Fix/test coverage by Umang01-hash · Pull Request #1813 · gofr-dev/gofr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix/test coverage #1813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jun 5, 2025
Merged

Fix/test coverage #1813

merged 11 commits into from
Jun 5, 2025

Conversation

Umang01-hash
Copy link
Member
@Umang01-hash Umang01-hash commented Jun 5, 2025

Pull Request Template

Description:

This PR enhances the test coverage reporting across the codebase by:

✅ Including coverage for core framework files under pkg/gofr

✅ Retaining separate coverage runs for the root and sub-packages of pkg/gofr, and merging them into a single profile

✅ Excluding auto-generated and non-essential gRPC files from the examples coverage report, including:

Files under grpc-*-client/

*.pb.go, *.proto, *_gofr.go, *_client.go, grpc.pb.go, health.go

📈 Increasing the overall test coverage from ~58% to ~80%

Screenshot 2025-06-05 at 3 45 38 PM

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.

Thank you for your contribution!

@aryanmehrotra aryanmehrotra merged commit 43c61d8 into development Jun 5, 2025
33 checks passed
@aryanmehrotra aryanmehrotra deleted the fix/test_coverage branch June 5, 2025 15:37
akshat-kumar-singhal pushed a commit to akshat-kumar-singhal/gofr that referenced this pull request Jun 10, 2025
* separately test gofr module

* exclude unnecessary grpc files from examples test coverage

* fix tests and remove failing ones

* skip two more flaky tests

* fix linters

* fix linters

* resolve issues in cron tests

* remove unwanted changes

* resolve review comments
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.

3 participants
0