Closed sanderd17 closed 6 years ago
is this well tested? are we sure this fix doesn't introduces other issues?
Depends on your definition of "Well tested". AFAICS, there are no unit tests, so I can only speak from what I noticed.
It didn't break reading and writing (as I use that too), and it fixed notifications. That's all I tested and IMO the most important functionality.
Ok
Indeed, It would be good to have also unit test. I can give you access as mantainer if willing to. Unfortunately I don't have any device neither enough knowledge of the bechoff products and ads to write complete unit tests.
Well, we normally use OPC-UA to communicate with Beckhoff PLCs, but for this project, I needed ADS.
I don't know if I'll be using it a lot after this project, so I don't think I'll be a good maintainer as well.
To test it, you'll probably have to mock the incoming TCP stream, and use it to answer to requests and send notifications.
Fixes #4