Documentation
¶
Overview ¶
Package testutil provides test doubles and helpers scoped to the configcore cell. It lives under internal/ to enforce the per-cell convention: other cells (auditcore, accesscore) that need similar test doubles should define their own internal/testutil rather than cross-cell-share, preserving the cell isolation boundary. If a truly cross-cell test utility emerges in the future, it should be elevated to cells/testutil/ or pkg/testutil/ — but that decision is deferred until the need is concrete.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FailingPublisher ¶
type FailingPublisher struct{ Err error }
FailingPublisher returns Err on every Publish call.
type NoopTxRunner ¶
type NoopTxRunner struct{ Calls int }
NoopTxRunner executes fn directly without a real transaction. Tracks call count.
type RecordingWriter ¶
RecordingWriter records outbox entries written to it. Set Err to simulate failures.