[Issue #3] Add unit tests for EventStore interface implementations #32
Reference in New Issue
Block a user
Delete Branch "issue-3-eventstore-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Changes
store/memory_test.gowith 30+ test cases covering all acceptance criteriasync.RWMutexto InMemoryEventStore for concurrent access safetyTest Coverage
Closes #3
Code Review - Approved
Excellent PR with comprehensive test coverage and proper thread safety implementation.
Highlights
sync.RWMutexfor concurrent access safetyNote
PR #31 (SnapshotStore tests) will need to rebase onto this and add the same mutex protection to
SaveSnapshot/GetLatestSnapshotmethods.LGTM - ready to merge.