test_expect
Asserts conditions on live PLC values, waiting up to a specified time for all checks to pass and returning per-check pass/fail with timing.
Instructions
Assert conditions on live values. checks: [{symbol, op, value, tolerance?}], op ∈ == != > >= < <= ~= (relative/abs tolerance) in between. within_ms>0 waits until all hold. Returns pass/fail per check with the time each one was met.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | Yes | ||
| within_ms | No | ||
| interval_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||