Summary
Refactor ModularityKit.Mutator.Governance.Redis.Tests into smaller, provider focused fixtures so Redis storage, serialization, keyspace, and query behavior remain easy to extend and review.
Goal
Improve maintainability of governance Redis tests by decomposing mixed provider fixtures, extracting stable specific test support where repetition is real, and aligning file boundaries with provider concerns.
Problem
ModularityKit.Mutator.Governance.Redis.Tests covers several provider concerns that will continue to grow as persistence and query behavior expand. Without more focused fixtures and clearer package local support, tests become harder to scan, harder to change safely, and harder to diagnose when provider behavior fails.
Scope
Design Expectations
- Test decomposition should preserve provider behavior while making scenario boundaries clearer.
- Redis specific helpers should be extracted only where they remove real duplication.
- Fixture structure should keep storage and query behavior easy to trace during failures.
- File names and fixture names should reflect Redis provider concerns rather than mixed utility buckets.
Acceptance Criteria
Non Goals
- This issue does not change Redis provider behavior or public APIs
- This issue does not refactor governance package tests outside the Redis test project
- This issue does not pull all provider test support into one cross package helper layer
Summary
Refactor
ModularityKit.Mutator.Governance.Redis.Testsinto smaller, provider focused fixtures so Redis storage, serialization, keyspace, and query behavior remain easy to extend and review.Goal
Improve maintainability of governance Redis tests by decomposing mixed provider fixtures, extracting stable specific test support where repetition is real, and aligning file boundaries with provider concerns.
Problem
ModularityKit.Mutator.Governance.Redis.Testscovers several provider concerns that will continue to grow as persistence and query behavior expand. Without more focused fixtures and clearer package local support, tests become harder to scan, harder to change safely, and harder to diagnose when provider behavior fails.Scope
ModularityKit.Mutator.Governance.Redis.TestsDesign Expectations
Acceptance Criteria
ModularityKit.Mutator.Governance.Redis.Testsno longer relies on oversized mixed concern fixtures for its core provider scenariosNon Goals