You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use the FakeIt impl. built by ArduinoFake to run mocks on the device? Otherwise it seems you need to install and build FakeIt separately to get on device mocks. Either that or a way to prevent ArduinoFake reimplementing <Arduino.h>
The text was updated successfully, but these errors were encountered:
nstansbury
changed the title
Running mocks on device with FakeIt
Running mocks on device
Sep 22, 2023
Yes, I want to Spy on some class function calls when running tests on the actual device, and am trying to avoid having to build and configure FakeIt directly, as all that hardwork is already done by ArduinoFake.
I think the only solution I have found so far is to add ArduinoFake into my [env:pico] and then disable lib-compat-mode to force PlatformIO to include it when building for the device.
Is it possible to use the FakeIt impl. built by ArduinoFake to run mocks on the device? Otherwise it seems you need to install and build FakeIt separately to get on device mocks. Either that or a way to prevent ArduinoFake reimplementing
<Arduino.h>
The text was updated successfully, but these errors were encountered: