ide_run_tests
Run headless ikide test runner and return real PASS/FAIL verdicts. Provide a workspace or inline program with test script, plus optional devices and MCU for load_hex tests.
Instructions
Run the headless ikide test runner and return the real PASS/FAIL verdict. Provide an existing workspace (with tests/*.rhai), OR inline program + test (assembled into a throwaway workspace). Optionally attach custom devices and pick an mcu for load_hex tests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mcu | No | Device for load_hex tests (default atmega328p). | |
| test | No | Inline tests/*.rhai script (used with `program`). | |
| devices | No | Custom device scripts to attach. | |
| program | No | Inline ik program (used with `test`). | |
| test_name | No | test.rhai | |
| workspace | No | Path to a workspace containing tests/*.rhai. | |
| program_name | No | Filename for the inline program. | main.ik |