Coming from a software background, my expectation when writing any code is to have automated unit tests verify its behaviour. Because of this, it makes me a little uneasy that robot controllers don't support this "out of the box", and I would like to at least approach something like automated testing.
I've seen a couple of posts on this forum bring this up (in particular see Verify all code paths and What is the best practice for reusing the same parts of a code in KUKA robots?), but I have no idea how this would be achieved in practice.
My thinking is that it could be a generic test program that would reference a collection of library functions to execute, as well as input/output for those functions, and failure testing for the same. This could then be executed partially automatically in OfficeLite. My worry with this is then propagating passes and failures out of OfficeLite -- do you just display testing errors as messages?
I'm less sure of how the submit interpreter could be tested, though I haven't researched OfficeLite/PLC interaction.
Any guidance would be appreciated, but snippets of any testing code would be gold.
For reference, I'm working with KRC4 8.5.7, and am in the process of installing OfficeLite 8.5.9.