Commit bab0a1b
test: add comprehensive integration tests for MCP wrapper tools
Add WrapperToolsIntegrationTest covering all 4 wrapper tools and their functionality.
**Tests Added:**
- Wrapper mode exposes correct tools (4 wrapper + static tools)
- discover-repositories: Lists only MCP-enabled repositories
- discover-repositories: Search functionality works correctly
- get-repository-operations: Returns complete operations list
- get-repository-operations: Rejects non-MCP repositories with clear error
- get-operation-details: Returns schema with examples
- execute-operation: Creates records via wrapper (store operation)
- execute-operation: Lists records via wrapper (index operation)
- execute-operation: Validates operation permissions
- Complete workflow: Tests entire discover → operations → details → execute flow
**Coverage:**
- 10 test methods
- 74 assertions
- Tests all 4 wrapper tools
- Tests error handling and validation
- Tests end-to-end workflow
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 17c57ff commit bab0a1b
1 file changed
+758
-0
lines changed
0 commit comments