arduino_ci
arduino_ci copied to clipboard
Testing standalone sketches
Feature Request
It should be possible to create some form of unit testing for sketches (specifically, any functions defined in the sketch) building on the same mock system used for testing entire libraries.
Some care must be taken to handle infinite loops, e.g. if a sketch includes while(1); as a means of halting execution.