Skip to content

Conversation

@JAORMX
Copy link
Collaborator

@JAORMX JAORMX commented Sep 18, 2025

Summary

Implements missing E2E test coverage for the --tools-override CLI flag as requested in GitHub issue #1515.

Testing

The tests will automatically run in CI under the "mcp" label filter, ensuring they're included in the existing test pipeline.

Closes #1515

@codecov
Copy link

codecov bot commented Sep 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.75%. Comparing base (4fb2fa4) to head (a0084b1).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1935   +/-   ##
=======================================
  Coverage   46.74%   46.75%           
=======================================
  Files         220      220           
  Lines       27378    27378           
=======================================
+ Hits        12799    12801    +2     
+ Misses      13601    13599    -2     
  Partials      978      978           

☔ View full report in Codecov by Sentry.
📢 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.

@JAORMX JAORMX force-pushed the feat/add-e2e-tests-for-tool-override-1515 branch from 5eebdca to 823261e Compare September 18, 2025 07:41
Implements missing E2E test coverage for the --tools-override CLI flag
as requested in GitHub issue #1515.

Test coverage includes:
- Positive cases: valid overrides with name/description changes
- Negative cases: invalid JSON, missing files, empty overrides
- Integration cases: combining tool filtering with tool overrides

The tests follow the existing pattern in fetch_mcp_server_test.go and
will run under the 'mcp' label in CI pipeline.

Closes #1515

Signed-off-by: toolhive-dev-bot <devnull@example.com>
@JAORMX JAORMX force-pushed the feat/add-e2e-tests-for-tool-override-1515 branch from 823261e to a0084b1 Compare September 18, 2025 07:47
@JAORMX JAORMX changed the title Add comprehensive E2E tests for tool override functionality Add E2E tests for tool override functionality Sep 18, 2025
@JAORMX JAORMX merged commit 68db7a6 into main Sep 18, 2025
20 checks passed
@JAORMX JAORMX deleted the feat/add-e2e-tests-for-tool-override-1515 branch September 18, 2025 08:05
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.

Add e2e tests for Tool Override

3 participants