Skip to content

Added Java driver tests for coverage - #3575

Open
GumpacG wants to merge 1 commit into
apache:masterfrom
GumpacG:driver-cover
Open

Added Java driver tests for coverage#3575
GumpacG wants to merge 1 commit into
apache:masterfrom
GumpacG:driver-cover

Conversation

@GumpacG

@GumpacG GumpacG commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Increase gremlin-driver test coverage

Adds targeted unit tests for gremlin-driver that exercise previously-untested library
code: the HTTP request/response codecs, remote traversal and transaction handling,
round-robin load balancing, Auth factory dispatch, connection-pool lifecycle, stream
buffers, and Cluster/Host configuration. Tests only, no production code changes.

Coverage (gremlin-driver aggregate: unit + integration)

Metric Baseline (master) With added tests
Instructions 76.19% 82.68%
Branch 64.01% 72.28%

~83 new driver unit tests. The full gremlin-driver + gremlin-server unit and
integration suites pass.

Coverage reports

Baseline (master: 2e56ccc):
Screenshot 2026-07-27 at 9 08 17 AM

With added tests:
Screenshot 2026-07-25 at 4 45 43 PM

Assisted-by: Kiro: Claude Opus 4.8

Assisted-by: Kiro: Claude Opus 4.8
@codecov-commenter

codecov-commenter commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.91%. Comparing base (a28cd1f) to head (9e2010a).
⚠️ Report is 377 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3575      +/-   ##
============================================
+ Coverage     76.35%   76.91%   +0.55%     
- Complexity    13424    14416     +992     
============================================
  Files          1012     1036      +24     
  Lines         60341    64608    +4267     
  Branches       7075     7661     +586     
============================================
+ Hits          46076    49696    +3620     
- Misses        11548    11846     +298     
- Partials       2717     3066     +349     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants