TMCP040 search_tests returns empty list when tester_of has no tests

The user shall receive an empty list when filtering by a requirement that exists but has no associated tests.

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 tester_of RF04, a requirement with no tests

{
  "id": 2,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "search_tests",
    "arguments": {"tester_of": "RF04"}
  }
}

Step 2

Verify an empty list is returned

{
  "id": 2,
  "jsonrpc": "2.0",
  "result": {
    "structuredContent": {
      "tests": []
    }
  }
}