Unit Testing for C (especially Embedded Software)


Unity is written in 100% pure C code. It follows ANSI standards while supporting most embedded compiler quirks.


Unity is equally happy running tests for an 8-bit microcontroller as it is a 64-bit processor on steroids.


Unity is designed to help you make the most of your test suite. It features a rich set of assertions so you can find the perfect match for your needs


Unity is pure C. Compile. Run. Results.
Run as native executables on your host system or in a simulator for your target!


Unity is easily integrated into your toolchain. Start with just the basics, then power up with optional scripts or features later.


Unity is easily expanded. Build new macros to fit your own custom types. Pull in CMock for full mocking support. Script the process or the results. Endless Possibilities!