Dumb question: what unit test framework do you use for embedded development? There are was a question about unit test frameworks for C, but it was old, and not embedded oriented.
If I only take this part of your question : What unit test framework do you use for embedded development?, then I answer Google Test. It requires a C++-compatible compiler, but is suitable for testing C code.
We use it for all our embedded development: TI C67x DSP (production code is 100% C, we use only C++ for gtest), VxWorks on x86 and Linux on ARM.
Edit: You wrote in your comments that your platform is an ATMega. I do not think gtest
will fit in a 8 bits MCU, even a big one. You may have two solution:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With