Closed stefanbesler closed 3 years ago
Great idea. I think the check for exception is great. Is there any easy way to tell the TwinCAT run-state through the automation interface? If the target (after execution of the tests) is not CONFIG or RUN, we should abort.
I try to look into it next week
Solved in PR #13.
Sometimes - shit happens ;-) - somebody commits code to a project that causes a runtime exception in TwinCAT, most commonly this occurs with div0 or pointers to NULL. TcUnit-Runner should check the TwinCAT state and if an Exception occurs it should end. Another option would be to timeout after X minutes, where X is provided as a command line argument.
what do you think about this?