hindsight-core:store-testing
Safe HaskellNone
LanguageGHC2021

Test.Hindsight.Store.CursorTests

Description

Per-stream cursor tests

Tests per-stream cursor functionality for multi-stream transactions: - Cursor extraction from multi-stream transactions - Cursor independence across streams - Stale cursor detection in multi-stream transactions - Cursor completeness (all streams get cursors) - Empty stream cursor handling (edge case)

Synopsis

Documentation

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

Per-stream cursor test suite for event store backends