tcunit_run
Run a full TcUnit test cycle on a TwinCAT target: save, build, activate, restart, wait for xUnit results, and parse them.
Instructions
Full TcUnit cycle: save (checked) → build → boot project autostart+generate → activate → restart → delete old result → wait for the xUnit file on the target → parse. Destructive-class (it activates a configuration on the target): tc_request_confirmation(action='tcunit_run', target=). plc_project_path from xae_plc_projects. TcUnit writes the result file only with its library parameter GVL_Param_TcUnit.xUnitEnablePublish = TRUE (default FALSE): the run is refused before anything is activated when the project source says FALSE, and stops waiting when the PLC reports FALSE (D40).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_s | No | ||
| disable_io | No | ||
| save_first | No | ||
| skip_build | No | ||
| confirm_token | No | ||
| plc_project_path | Yes | ||
| remote_result_path | No | ||
| allow_target_mismatch | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||