Replies: 1 comment 2 replies
-
We're working on a v2 of the SDKs and are enabling unit testable device clients. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think it would be great if there would exist an
IModuleClient
andIDeviceClient
interface, which would then be implemented by theModuleClient
andDeviceClient
classes.This would allow developers to easily test code / classes that have a dependency on those classes. Instead of directly injecting ModuleClient, one could inject
IModuleClient
and pass in a stub or mock in unit-tests.Beta Was this translation helpful? Give feedback.
All reactions