testbench-test-handling
Installation
SKILL.md
ESP32 Test Automation
Base URL: $TESTBENCH_URL — see Step 0
The portal and the MQTT broker are always-on infrastructure. A test never starts, stops or restarts them — doing so breaks whatever else is using the bench, and a test that needs a restart to pass is testing the restart.
The execution protocol
Every test case runs in three phases, and the panel shows which one is current so the operator can follow along without a terminal.
| Phase | Panel shows | What happens |
|---|---|---|
| Preconditions | [TC-100] Preconditions: checking DUT reachable... |
Verify and establish each precondition from the spec. If the AP is not running, start it. Fail only when a precondition is genuinely unrecoverable. |
| Execute | [TC-100] Step 2: <the step from the spec> |
Run the spec's steps one at a time, checking the expected result after each. |
| Result | TC-100: PASS / TC-100: FAIL — <what was seen> |
Record PASS/FAIL/SKIP with the observed value, not just the verdict. |