Skip to content

Add provider contract tests for MemoryStore and RuntimeStateStore implementations #17

Description

@David-patrick-chuks

Summary

Create shared contract tests for storage abstractions so new adapters can be validated consistently.

Context

Contributor-added storage implementations will become hard to trust if each backend invents slightly different behavior.

Scope

  • Define reusable contract tests for MemoryStore.
  • Define reusable contract tests for RuntimeStateStore.
  • Ensure in-memory and file-backed implementations can run against the same test suites.
  • Document required semantics for adapter authors.

Acceptance Criteria

  • Shared contract test suites exist.
  • At least two implementations run against them where applicable.
  • Contract expectations are documented.
  • CI runs the contract suites.

Out of Scope

  • Database-specific stress tests.
  • Distributed consistency guarantees.
  • Performance comparisons.

Dependencies

Suggested Labels

tests, memory, state

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions