How can I unit test Arduino code?

I’d like to be able to unit test my Arduino code. Ideally, I would be able to run any tests without having to upload the code to the Arduino. What tools or libraries can help me with this?

There is an Arduino emulator in development which could be useful, but it doesn’t yet seem to be ready for use.

AVR Studio from Atmel contains a chip simulator which could be useful, but I can’t see how I would use it in conjunction with the Arduino IDE.

20 Answers
20

Leave a Comment