test: extend shared conformance suite to cover ALL store features #161
Labels
No labels
bug
documentation
enhancement
investigation
nice-to-have
performance
production-ready
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit#161
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
eventstoretest.RunSuiteonly tests the basic EventStore interface (Append, Load, LoadFrom, concurrency, metadata). All extended features are tested ONLY in store-specific tests with no shared contract:Not in shared suite:
This means theres no guarantee pgstore and sqlitestore implement these the same way. Each store tests its own implementation independently — they could diverge without anyone noticing.
Solution
Extend
eventstoretestwith additional shared suites:Each store calls these suites in its conformance test file. If a store doesnt support a feature, it skips that suite.
Factory interfaces
The factories need to return the extended interfaces:
Requirements