On a host programming environment, I have used both the Boost Test Library (http://www.boost.org/doc/libs/1_...) and cppunit for C++ code, both for test-driven development and automatic regression testing.
On the AVR, I have a bunch of numeric routines that I would like to do unit tests on, and it would also be nice to perform regression testing during builds.
I have been stung in the past by testing C-code on a host environment, only to see an integer overflow in some rare cases on a microcontroller (PSoC in that case, but same would have been true for AVR).
Is there any unit testing or regression testing framework for AVR? Has anyone used something similar? How easy has it been to use?