For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/zh/api/functions/test.runContractMatrix.md.
  • 简体中文
  • Function: runContractMatrix()

    runContractMatrix(options): Promise<ContractMatrixReport>

    Runs the contract matrix against one compiled MCP server at the mcp-in-memory proof level. Returns a per-route report; throws one aggregated AgentTestError with code contract-violation when any check failed (never first-failure-only).

    Parameters

    options

    ContractMatrixOptions

    Returns

    Promise<ContractMatrixReport>