Skip to main content

Module testing

Module testing 

Source
Expand description

Public testing namespace. Use it for the documented testing API surface; prefer crate-root re-exports for common imports. Module items must preserve the toolkit ownership and side-effect boundaries described in this file. Toolkit-specific deterministic test helpers. Use these fakes for content stores, argument stores, and scripted protocol harnesses without live editors, MCP servers, or product hosts. Helpers mutate only in-memory state unless noted.

Re-exports§

pub use protocol::IsolatedJsonRpcProcess;
pub use protocol::McpHostProxy;
pub use protocol::ScriptedAcpAgent;
pub use protocol::ScriptedAcpClient;
pub use protocol::ScriptedMcpServer;

Modules§

protocol
Deterministic protocol conformance harnesses for SDK consumers.

Structs§

InMemoryJsonArgumentStore
In-memory JSON argument store fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
InMemoryToolkitContentStore
In-memory toolkit content store fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.