Documentation
¶
Overview ¶
Package storetest is the conformance suite every [connectionforge.Store] and [connectionforge.Leaser] must pass. A store's own tests call it with a constructor:
func TestConformance(t *testing.T) {
storetest.Run(t, func(t *testing.T) connectionforge.Store { return newStore(t) })
}
It checks owner isolation on every method, compare-and-swap on connections and credentials (including under concurrency), the transition table, cascade on delete, ordering, idempotence, and that returned records are copies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.