Macros§
- backend_
contract_ tests - Unified contract test macro for all backend implementations.
Structs§
Functions§
- test_
basic_ read_ write - test_
batch_ limiting - Contract test: Batch limiting returns exactly the specified number of events
- test_
checkpoint_ independent_ subscriptions - Contract test: Different subscription names have independent checkpoints
- test_
checkpoint_ load_ missing_ returns_ none - Contract test: Loading a non-existent checkpoint returns None
- test_
checkpoint_ save_ and_ load - Contract test: Save a checkpoint and load it back
- test_
checkpoint_ update_ overwrites - Contract test: Saving a checkpoint overwrites the previous value
- test_
concurrent_ version_ conflicts - test_
conflict_ preserves_ atomicity - test_
coordination_ acquire_ leadership - Contract test: First instance can acquire leadership successfully
- test_
coordination_ independent_ subscriptions - Contract test: Different projectors have independent coordination (different lock keys)
- test_
coordination_ leadership_ released_ on_ guard_ drop - Contract test: Leadership is released when guard is dropped (crash/disconnect recovery)
- test_
coordination_ second_ instance_ blocked - Contract test: Second instance returns error when leadership unavailable
- test_
event_ ordering_ across_ streams - Contract test: Events from multiple streams are read in global append order
- test_
missing_ stream_ reads - test_
position_ based_ resumption - Contract test: Position-based resumption works correctly
- test_
stream_ isolation - test_
stream_ prefix_ filtering - Contract test: Stream prefix filtering returns only matching streams
- test_
stream_ prefix_ requires_ prefix_ match - Contract test: Stream prefix filtering requires true prefix match (not substring match)