Skip to main content

Crate libmcp_testkit

Crate libmcp_testkit 

Source
Expand description

Shared test helpers for libmcp consumers.

Structs§

ProjectionAssertion
Assertion failure for projection doctrine checks.

Functions§

assert_list_shape
Asserts that a list-like surface does not inline prose bodies.
assert_no_opaque_ids
Asserts that a JSON value does not leak opaque database identifiers.
assert_projection_doctrine
Asserts that a projection obeys the doctrine implied by its surface policy.
assert_reference_only
Asserts that a reference-only surface does not inline large textual content.
read_json_lines
Reads an append-only JSONL file into typed records.