hindsight-core:store-testing
Safe HaskellNone
LanguageGHC2021

Test.Hindsight.Store.BasicTests

Description

Basic subscription and event handling tests

Tests fundamental event store operations: - Event insertion and subscription - Stream selection (all streams vs. single stream) - Position-based subscription startup - Correlation ID preservation - Async subscription behavior - Subscription stop semantics - Exception handling and enrichment

Synopsis

Documentation

basicTests :: (EventStore backend, StoreConstraints backend IO, Show (Cursor backend)) => EventStoreTestRunner backend -> [TestTree] Source #

Basic test suite for event store backends