Documentation
¶
Overview ¶
Package agentcoretest contains reusable conformance checks for agentcore boundary implementations. Keeping the checks outside the kernel lets every host backend prove the same semantics without adding test machinery to the runtime package itself.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunSessionStoreConformance ¶
func RunSessionStoreConformance(t *testing.T, harness SessionStoreHarness)
RunSessionStoreConformance exercises the observable SessionStore contract, including optional batch and window capabilities. Backends should invoke it unchanged so local and server persistence cannot drift semantically.
Types ¶
type SessionStoreHarness ¶
type SessionStoreHarness struct {
Store agentcore.SessionStore
NewSessionID func(t *testing.T) string
}
SessionStoreHarness supplies one backend and a factory for fresh, valid session IDs. Durable backends may use NewSessionID to create required parent rows; in-memory backends can simply return unique strings.