Skip to content

Make the ChangeRow type an interface to help write unit tests #14

Open
@nayakravi

Description

@nayakravi

Currently it's not possible to mock the ChangeRow type to use in unit tests because it is hard wired to private types contained within it - unless we use a mock library - which is suboptimal.
It does not look like a lot of effort to convert it into an interface to make this possible - other than possibly figuring out the type names :)
Will really appreciate this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions