Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptanceTest ¶
func AcceptanceTest(t *testing.T, ctx context.Context, store eventstore.EventStore)
AcceptanceTest is the acceptance test that all implementations of EventStore should pass. It should manually be called from a test case in each implementation:
func TestEventStore(t *testing.T) { ctx := context.Background() // Or other when testing namespaces. store := NewEventStore() eventstore.AcceptanceTest(t, ctx, store) }
func NewMockEventHandler ¶
func NewMockEventHandler() *mockEventHandler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.