JSON configs describe network and node MACs; scenarios run command sequences with expect checks. Share UART client API across CLI and tests. Co-authored-by: Cursor <cursoragent@cursor.com>
52 lines
958 B
JSON
52 lines
958 B
JSON
{
|
|
"id": "smoke",
|
|
"description": "Basic master UART checks (no slaves required for version)",
|
|
"config": "example-lab",
|
|
"steps": [
|
|
{
|
|
"name": "firmware version",
|
|
"command": "version",
|
|
"expect": {
|
|
"version_min": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "wait for ESP-NOW join",
|
|
"delay_ms": 5000
|
|
},
|
|
{
|
|
"name": "slave visible",
|
|
"command": "clients",
|
|
"expect": {
|
|
"min_clients": 1,
|
|
"slave": "pod-1",
|
|
"available": true
|
|
}
|
|
},
|
|
{
|
|
"name": "unicast path",
|
|
"command": "unicast_test",
|
|
"input": {
|
|
"slave": "pod-1",
|
|
"seq": 42
|
|
},
|
|
"expect": {
|
|
"success": true,
|
|
"seq": 42
|
|
}
|
|
},
|
|
{
|
|
"name": "read local deadzone",
|
|
"command": "deadzone",
|
|
"input": {
|
|
"write": false,
|
|
"client": 0
|
|
},
|
|
"expect": {
|
|
"success": true,
|
|
"deadzone": 100
|
|
}
|
|
}
|
|
]
|
|
}
|