Task-Tracker-Systems / Task-Tracker-Device

Sources for a task time recording device.
https://task-tracker-systems.github.io/Task-Tracker-Device/
MIT License
2 stars 0 forks source link

dependency to ArduinoCore #105

Closed dhebbeker closed 7 months ago

dhebbeker commented 8 months ago

How to deal with the dependencies to ArduinoCore (Arduino.h)?

On one hand directly using an ArduinoCore implementation avoids to create plenty of boilerplate code in form of adapters.

On the other hand waiving adapters for the Arduino dependency poses problems while testing. ArduinoFake can help stubbing but does not cover Espressif specific dependencies we use (see https://github.com/Task-Tracker-Systems/Task-Tracker-Device/discussions/100#discussioncomment-8450282). Can we use a hybrid where we stub using ArduinoFake and manually stub the extensions? (further experiments necessary)