22 lines
639 B
Markdown
22 lines
639 B
Markdown
# HIL Tests
|
|
|
|
This directory is reserved for a future pytest-based hardware-in-the-loop suite.
|
|
|
|
Planned capabilities:
|
|
|
|
- sender and receiver serial capture;
|
|
- configurable serial ports and baud rates;
|
|
- controlled reset and power-cycle adapters;
|
|
- UART smart-meter simulation;
|
|
- test MQTT broker integration;
|
|
- controlled Wi-Fi outage and AP fallback checks;
|
|
- optional SD fault injection.
|
|
|
|
Keep hardware configuration out of source control. Use ignored files such as:
|
|
|
|
- `hil_tests/config.local.yaml`
|
|
- `hil_tests/ports.local.json`
|
|
- `hil_tests/secrets.local.yaml`
|
|
|
|
Do not run HIL against untrusted pull-request code on a hardware runner.
|