I've tried to port the library as it is to e!COCKPIT (WAGO's version of CODESYS V3) to use it in my projects.
First, I did a test with CODESYS V3 in a Raspberry Pi, just following the tutorial to see and understand how the library is supposed to work.
After that, I installed the library in e!COCKPIT and ran the example of the tutorial. As far as I'm able to assess with my limited knowledge about the inner functioning of the library and the used components (CmpLog, CmpApp...):
It seems like the tests ran properly, as you can see in the attached screenshot (CfUnit_WAGO_ejemplo.PNG).
But the messages don't appear in the CfUnit logger.
Trying to solve this problem or make the library works somehow in e!COCKPIT I've been tinkering a bit with the code while reading through CODESYS Online Help. The only solution I've found is really a shabby workaround, but it works:
I've change the piece of code you can see in the in the attached screenshot (AddLogEntry_change.png). This ignores the CfUnit logger that the library creates and write the messages in the <default logger=""> successfully. This is enough for me to be able to leverage the benefits of having a unit test framework within my development tool.</default>
I hope this ticket is helpful to someone out there trying to use the library with WAGO software and also curious about the initial problem: do you have any clue about why the CfUnit logger is not working?
P.S. - Thank you very much for porting this into CODESYS from TcUnit. I'm sure is going to be very helpful to me.