It's an extension to ArduinoFake that mocks out enough functionality to run the Speeduino unit tests using the Platform IO 'native' platform.
It mocks all methods of
- Stream
- Serial
- Function
- EEPROM
It is missing:
- Wire
- Client
- SPI
When FakeIt attempts to execute an unmocked method, the program fails with a cryptic error. So it was easier to fully mock each object rather than trial and error on each method for the Speeduino unit test suite.
It might be useful to others, hence a separate project.