Structs§
- Agent
Event Builder - Agent
Trace - A recorded agent event stream (as seen by an
AgentObserver), with assertion helpers for trace-shaped tests. Build one withTestAgentBuilder::run_trace. - Fake
Agent Observer - In-memory
AgentObserverthat records every event it receives, for asserting on the stream an agent emits. - Test
Agent Builder - Test
Agent Result - Result of running a test agent, including messages, captured contexts, and the MCP elicitations it answered.
- Test
Scenario - A fluent sequence of commands and synchronization points for a test agent.
Enums§
- Test
Agent Error - Error returned by
TestAgentBuilder::run,TestAgentBuilder::run_trace, andTestAgentBuilder::run_with_context. - Test
Agent Step - An ordered interaction with a test agent.
Functions§
- agent_
event - content_
events - drain_
until - fast_
retry - Millisecond-scale retry delays so retry tests run fast under virtual time.
- map_
event_ names - Maps trace-relevant events to compact names for order assertions, skipping content messages.
- mcp_
instructions - ready_
catalog - test_
agent