Add unit tests for the HAN lib
freol35241 opened this issue · comments
freol35241 commented
freol35241 commented
Possibly mock Serial
using https://gist.github.com/arcao/3252bb6e5e52493f03726ec32e61395c
freol35241 commented
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.