arduino_ci icon indicating copy to clipboard operation
arduino_ci copied to clipboard

Testing standalone sketches

Open ianfixes opened this issue 5 years ago • 0 comments

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.

ianfixes avatar Dec 14 '20 03:12 ianfixes