Unit Testing for C
(especially Embedded Software)
Unity is a Unit-Testing framework written in 100% pure ANSI C. It’s been carefully written and self-tested to be portable, working efficiently on tiny 8-bit microcontrollers to 64-bit powerhouses.
As a single C file and a pair of header files, Unity provides a slim but expressive collection of assertions and supporting structure, enabling you to write powerful unit tests.
Your C compiler. Your source code. Your tests. Unity allows you to test in C without littering your source code with additional requirements.