Documentation
¶
Overview ¶
Package presencetest provides a shared Ginkgo behavior suite every presence.Bus implementation must pass. A shared bus reuses it verbatim — engine/presence/pgpresence does:
var _ = presencetest.Conformance("postgres", func() presence.Bus { ... })
The specs are written for an asynchronous transport: delivery is asserted with Eventually, never "publish then immediately receive", so an implementation that hops through a broker passes the same suite as the in-process one. What they assert strictly is the shape the Registry depends on — a publisher is never blocked by a watcher that is not reading, state is ordered by revision and may coalesce, broadcasts are never folded into one another, and cancel is a clean, repeatable teardown.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.