Unit tests for consolidated event store #49

Open
opened 2026-03-14 23:54:59 +00:00 by freemo · 0 comments
Owner

Metadata

  • Commit Message: test(event-sourcing): add unit tests for consolidated ImmuDB event store
  • Branch: feature/m1-v12-es-store-tests

Background

The event store has no working tests.

Expected Behavior

BDD unit tests cover: store events, load events, snapshot creation/loading, file-based fallback, metrics, retry logic, and error handling.

Acceptance Criteria

  • Cucumber feature file with scenarios for all event store operations
  • Step definitions using test doubles for ImmuDB client
  • Coverage >= 85% for immudb_event_store.rb

Subtasks

  • Create tests/unit/event_store.feature with scenarios
  • Create tests/unit/step_definitions/event_store_steps.rb
  • Run bundle exec rake unit, verify coverage

Definition of Done

This issue is complete when all subtasks are done, commit created on the specified branch, PR submitted and merged.

## Metadata - **Commit Message**: `test(event-sourcing): add unit tests for consolidated ImmuDB event store` - **Branch**: `feature/m1-v12-es-store-tests` ## Background The event store has no working tests. ## Expected Behavior BDD unit tests cover: store events, load events, snapshot creation/loading, file-based fallback, metrics, retry logic, and error handling. ## Acceptance Criteria - [ ] Cucumber feature file with scenarios for all event store operations - [ ] Step definitions using test doubles for ImmuDB client - [ ] Coverage >= 85% for `immudb_event_store.rb` ## Subtasks - [ ] Create `tests/unit/event_store.feature` with scenarios - [ ] Create `tests/unit/step_definitions/event_store_steps.rb` - [ ] Run `bundle exec rake unit`, verify coverage ## Definition of Done This issue is complete when all subtasks are done, commit created on the specified branch, PR submitted and merged.
freemo added this to the v1.2.0 milestone 2026-03-14 23:54:59 +00:00
freemo self-assigned this 2026-03-15 04:25:22 +00:00
freemo modified the milestone from v1.2.0 to v1.0.0 2026-03-15 23:19:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: aethyr/Aethyr#49
No description provided.