Skip to content

All clients should expose an interface / mock of interface  #135

@awartoft

Description

@awartoft

Unit testing anything with global variables is a real pain, and it would make life a lot easier if each package would expose Client as an interface and then use something like https://github.com/vektra/mockery to generate mocks for all the clients so that proper testing can be easily implemented.

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