UNITY

Unit Testing for C (especially Embedded Software)

C

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

Portable

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

Expressive

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

QUICK

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

Simple

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

Extensible

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!