639 B
639 B
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.yamlhil_tests/ports.local.jsonhil_tests/secrets.local.yaml
Do not run HIL against untrusted pull-request code on a hardware runner.