-
Notifications
You must be signed in to change notification settings - Fork 8
Add comprehensive test coverage for MCP model classes #874
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
Conversation
Minimum allowed line rate is |
Co-authored-by: luv-bansal <70321430+luv-bansal@users.noreply.github.com>
Co-authored-by: luv-bansal <70321430+luv-bansal@users.noreply.github.com>
|
@copilot tests still failing, also you can also create a demo model for tests with below mcp server in config.yaml file and add following requirements in requirements.txt |
Co-authored-by: luv-bansal <70321430+luv-bansal@users.noreply.github.com>
Co-authored-by: luv-bansal <70321430+luv-bansal@users.noreply.github.com>
Co-authored-by: luv-bansal <70321430+luv-bansal@users.noreply.github.com>
... Created dummy_stdio_mcp_model with mcp-server-calculator configuration and updated requirements in commit a708784. Changes made:
The tests now include both unit tests (25) and integration tests (3) that work with actual dummy models. |
|
@copilot One good test is to use local-runner to start the model the use below client to test the MCP server |
Co-authored-by: luv-bansal <70321430+luv-bansal@users.noreply.github.com>
…yed model Co-authored-by: luv-bansal <70321430+luv-bansal@users.noreply.github.com>
Co-authored-by: luv-bansal <70321430+luv-bansal@users.noreply.github.com>
Co-authored-by: luv-bansal <70321430+luv-bansal@users.noreply.github.com>
... Added test for StreamableHttpTransport configuration in commit 4080125. The test validates that the FastMCP Client with StreamableHttpTransport can be properly configured with Clarifai API endpoints and authorization headers. The test:
The test serves as a template and validates the setup without requiring a deployed model in CI. For end-to-end testing with a real model, the commented example code in the docstring shows how to extend it. |
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.