TMCP048 least_tested_requirements limited by count

Call least_tested_requirements with count=2 and verify only the 2 least tested requirements are returned

Is a test for
Automated in
Source

Source file: specs/mcp/test_12.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 least_tested_requirements with count 2

{
  "id": 2,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "least_tested_requirements",
    "arguments": {"count": 2}
  }
}

Step 2

Verify only the 2 least tested requirements are returned — RF04 and RF01

{
  "id": 2,
  "jsonrpc": "2.0",
  "result": {
    "structuredContent": {
      "requirements": [
        {"id": "RF04", "category": "non-functional", "test_plans": 0, "automated_test_plans": 0},
        {"id": "RF01", "category": "functional", "test_plans": 1, "automated_test_plans": 0}
      ]
    }
  }
}