TMCP036 search_tests returns all tests when unfiltered¶
The user shall be able to call search_tests with no filters and receive all tests in the loaded specifications.
Is a test for
Automated in
Source
Source file: specs/mcp/test_11.yaml
Loaded from: speky_mcp
Initial state¶
The expected state is the final state of
TMCP003 Initialize the MCP server
Procedure¶
Step 1¶
The client calls search_tests with no arguments
{
"id": 2,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "search_tests",
"arguments": {}
}
}
Step 2¶
Verify all tests are returned sorted by ID
{
"id": 2,
"jsonrpc": "2.0",
"result": {
"structuredContent": {
"tests": [
{"category": "functional", "id": "T01"},
{"category": "functional", "id": "T02", "short": "Second test"},
{"category": "non-functional", "id": "T03", "short": "Create files"},
{"category": "non-functional", "id": "T04", "short": "Yet another test"}
]
}
}
}