Validate a driver’s lifecycle and event contract using the testing entrypoint.
Validate a driver’s lifecycle and event contract using the testing entrypoint. Read the driver contract testing guide for examples, defaults, and behavior.These declarations cover every public export in this category. Import from @agentium/harness/testing. Types such as ChatMessage, RunContext, and ExecutionServices come from @agentium/core. A ? marks an optional field.
testDriverContract
/** 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;}>;
createHarnessEvalTarget
/** Optional evaluation seam: authority/model configuration belongs to the verified host. */export declare function createHarnessEvalTarget(options: HarnessEvalTargetOptions): HarnessEvalTarget;