| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Test.Hindsight.Store.ConsistencyTests
Description
Consistency and version expectation tests
Tests critical consistency guarantees: - Stream creation conditions (NoStream, StreamExists) - Version-based optimistic locking (ExactVersion, ExactStreamVersion) - Concurrent write conflicts - Batch transaction atomicity - Multi-stream consistency - Version expectation race conditions - Empty batch handling
Synopsis
- consistencyTests :: (EventStore backend, StoreConstraints backend IO, Show (Cursor backend), Show (EventStoreError backend)) => EventStoreTestRunner backend -> [TestTree]
Documentation
consistencyTests :: (EventStore backend, StoreConstraints backend IO, Show (Cursor backend), Show (EventStoreError backend)) => EventStoreTestRunner backend -> [TestTree] Source #
Consistency test suite for event store backends