ArduinoFake is a simple mocking framework for Arduino.
ArduinoFake is based on FakeIt and can be used for testing both your arduino project natively.
You should include the following header in your test file:
#include <ArduinoFake.h>Assuming we have the following arduino code:
void setup()
{
}