The default engine for testing is llvm.
apax test
If you want to execute tests for a different target, you must specify it with the additional engine parameter -e, as well as the target IP Adress:
-e=plcsim or -e=mc7p and -t="127.0.0.1"
- You may add the target IP variable to apax.yml, 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 STOP and automatically start the test-program! Be sure to use the correct IP, since loading to the wrong PLC can cause serious damage.