# `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. :::{dropdown} Is a test for :open: :icon: check-circle-fill :color: primary [`MCP011` Search and filter tests](/requirements/MCP011) ::: :::{dropdown} Automated in :open: :icon: check-circle-fill :color: success {fab}`python` [`test_search_tester_of_empty`](https://github.com/agagniere/speky/blob/master/tests/test_mcp_server.py#L510) ::: :::{dropdown} Source :icon: file-code :color: info __Source file__: [`specs/mcp/test_11.yaml`](https://github.com/agagniere/speky/blob/master/specs/mcp/test_11.yaml) __Loaded from__: [`speky_mcp`](https://github.com/agagniere/speky/blob/master/specs/mcp/mcp.toml) ::: ## Initial state The expected state is the final state of [`TMCP003` Initialize the MCP server](/tests/TMCP003) ## Procedure ### Step 1 The client calls `search_tests` with tester_of `RF04`, a requirement with no tests ```json { "id": 2, "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "search_tests", "arguments": {"tester_of": "RF04"} } } ``` ### Step 2 Verify an empty list is returned ```json { "id": 2, "jsonrpc": "2.0", "result": { "structuredContent": { "tests": [] } } } ```