The default engine for testing is LLVM.
apax test
If you want to execute tests for a different target, you must specify this with the additional engine parameter -e and the target IP address:
-e plcsim or -e mc7p and -t "127.0.0.1"
You may add the target IP variable to the apax.yml file, and add it as a variable to your CLI call:
variables:
AXUNIT_TARGET_IP: "192.168.0.1"
apax test -e plcsim -t $AXUNIT_TARGET_IP
WARNING
The targeted PLC will switch to the STOP state and automatically start the test program! Be sure to use the correct IP address, since loading to the wrong PLC can cause serious damage.