william - 5 hours ago

Hi,

We are investigating available libraries and frameworks for automated PLC unit testing in Schneider EcoStruxure Machine Expert.

Specifically, we are looking for:

Assertion libraries or test frameworks compatible with Machine Expert
CODESYS‑based solutions that are not TwinCAT‑specific
Any official or community‑recommended approach for unit testing FB/FC logic offline
We have found several open‑source examples, but many appear to be TwinCAT‑dependent and therefore not compatible.

Are there any known libraries, best practices, or recommended approaches for implementing unit tests in Machine Expert?

Thanks in advance.