Skip to content

refactor: extract shared test utilities into internal/testutil #531

@nextlevelshit

Description

@nextlevelshit

Each package re-implements mocks independently. MockStateStore in executor_test.go is 80+ lines with 25 stubbed methods. Any other package needing a fake state store must duplicate this. Extract MockStateStore, testEventCollector, and common assertion helpers into internal/testutil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions