freol35241 / han-solo

My own take on interfacing swedish electricity meters having a HAN (P1) port

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add unit tests for the HAN lib

freol35241 opened this issue · comments

Reasonably simple unit testing that is runnable on GH actions require the code-to-be-tested is entirely free from references to Arduino.h. Since the main logic in libHAN depends heavily on String and also the HardwareSerial/Stream from the arduino framework this is unfeasible.