Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Introduce testable typesafe client.Client wrapper, so that our unit tests become great again #8

Open
georgethebeatle opened this issue Jun 23, 2021 · 0 comments
Labels

Comments

@georgethebeatle
Copy link
Member

georgethebeatle commented Jun 23, 2021

The client.Client interface "returns" values via input params which leads to complex stubs and fragile unit tests. Wrapping this client in a typesafe interface that has proper return values will allow us to write standard unit tests using counterfeiter fakes.

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

No branches or pull requests

1 participant