TMCP032 test_plan_coverage partitions requirements into coverage buckets

Call test_plan_coverage with no filter and verify requirements are correctly partitioned

Is a test for
Automated in
Source

Source file: specs/mcp/test_10.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 test_plan_coverage with no arguments

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

Step 2

Verify the response partitions requirements into four groups:

  • RF04 has no tests: no_test_plan

  • RF01 and RF02 have only manual tests: manual_test_plan

  • RF03 has one automated test (T04) and one manual test (T03): partially_manual_test_plan

  • automated_test_plan is empty

{
  "id": 2,
  "jsonrpc": "2.0",
  "result": {
    "structuredContent": {
      "no_test_plan": [
        {"category": "non-functional", "id": "RF04"}
      ],
      "manual_test_plan": [
        {"category": "functional", "id": "RF01"},
        {"category": "functional", "id": "RF02"}
      ],
      "partially_manual_test_plan": [
        {"category": "non-functional", "id": "RF03", "short": "Number 3", "tags": ["foo", "bar:baz"]}
      ],
      "automated_test_plan": []
    }
  }
}