@agentium/harness/testing. Types such as ChatMessage, RunContext, and ExecutionServices come from @agentium/core. A ? marks an optional field.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Agentium 4.0.0 · Upgrade from 3.x.
Validate a driver’s lifecycle and event contract using the testing entrypoint.
@agentium/harness/testing. Types such as ChatMessage, RunContext, and ExecutionServices come from @agentium/core. A ? marks an optional field.
/** No test-framework dependency. Calls the driver once and throws on violated public lifecycle invariants. */
export declare function testDriverContract(driver: ExecutionDriver, config?: Omit<HarnessRuntimeConfig, "driver">): Promise<{
result: HarnessResult;
eventCount: number;
}>;