hindsight-core:store-testing
Safe HaskellNone
LanguageGHC2021

Test.Hindsight.Store.OrderingTests

Description

Backend-agnostic comprehensive subscription ordering tests

Tests that all subscriptions (regardless of when they start) see events in the same total order. Uses hash chain verification to detect any ordering inconsistencies across concurrent subscriptions.

Synopsis

Documentation

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

Backend-agnostic ordering test suite