Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
macnibblet opened this issue Dec 17, 2021 · 0 comments
Open

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

macnibblet opened this issue Dec 17, 2021 · 0 comments

Comments

@macnibblet
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant