-
Hello! My team and I are working extensively with EdgeX Foundry. We always try to add as many UT as we can. Lately we have been developing applications on the north that utilize the SDK to send commands to the devices or get information from them. Testing with UT the functions on these applications seems quite hard as in order to test them we would need to have all of EdgeX running (to be able to use the SDK). Is there any approach or suggestion for this problem? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
To run the UT, you may use the interface mocks in SDK |
Beta Was this translation helpful? Give feedback.
To run the UT, you may use the interface mocks in SDK
https://github.com/edgexfoundry/app-functions-sdk-go/tree/main/pkg/interfaces/mocks