Replies: 2 comments 4 replies
-
i dont know what you try to test but requests and responses are standardized by opc foundation for example the browse request/response you can look at our tests aswell: |
Beta Was this translation helpful? Give feedback.
-
Hi AKuij, I know only two options in such a case:
|
Beta Was this translation helpful? Give feedback.
-
Hello Community,
I'm am newly working an a project that uses OPC UA and my task is to write Unittests.
The problem is, that while developing I do not have direct access to the OPC UA server,
so testing a lot of the responses gets a lot harder.
My question is: Is there a way to unittest without the need for mock?
I tried it for a week now and find it very complicated where to mock what and how and so on.
The tutorials and guides are somehow not helping, so maybe I missed the ability to test without mock in the documentation.
I would appreciate any help, or guidance in the right direction. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions