Expand description
The test-mcp script format (spec Appendix E): a session description plus
a list of tool calls, each with optional expectations on the tool’s JSON
result and optional image capture / comparison.
The script vocabulary is the tool list itself — a step names a tool and
passes its arguments verbatim — so the format never needs to know which
tools exist. Only the expect mini-language is defined here.
Modules§
- exit
- Exit codes of
brep-mcp test.
Structs§
- Compare
- Expect
- One expectation: a JSON pointer into the tool result plus exactly one
operator.
neartakes a relative tolerancetol(default 1e-6). - Script
- Step
Functions§
- glob_
match matchesuses a small glob (*any run,?one char) rather than a regex crate: enough for ids likeE*and messages like*cannot determine*.