test-exit-interpret
Interpret a test run: pass, no-tests, skipped, flaky, infra-failure from runner, exit code and counts — Reads a finished test run (runner, exit code, optional version, flags, caller-parsed counts, optional go test output, optional per-attempt exit codes) and says whether tests actually passed, ran nothing, were all skipped, passed only on retry, or never ran properly (timeout, signal, internal error). Encodes only exit-code semantics the runners document: pytest 0-5, node:test, mocha (failure count
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"runner": "<runner>"
},
"name": "test-exit-interpret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | ||
| counts | No | Counts parsed by the caller from the runner's own report. | |
| output | No | go test output (only ok, FAIL, --- FAIL and panic: lines are read). | |
| runner | Yes | ||
| signal | No | Terminating signal name, e.g. SIGKILL. | |
| version | No | Runner version, e.g. 10.4.0. Needed only for version-gated flags. | |
| exitCode | No | Process exit status. Omit when the process was killed by a signal or timed out. | |
| timedOut | No | True when the harness gave up waiting. | |
| attemptExitCodes | No | Exit codes of repeated runs of the same tests, to detect flakiness. Interpreted with the same runner rules. |