opensource.google.com

Menu

Cmockery: Easier Unit Tests for C Applications

Monday, September 15, 2008



We're pleased to announce the initial release of the Open Source project Cmockery, a lightweight library to simplify and generalize the process of writing unit tests for C applications. This testing framework tries to keep testing quick and simple by avoiding complex compiler features such as variadic macros or C99 features that may not be available in older compilers. Secondly, Cmockery doesn't assume the availability of the standard C library in code modules being tested, which makes it useful in code for embedded systems that isn't executed within the snug environment of a typical operating system.

To find out more, check out the code and start writing unit tests for your C applications, please visit the project homepage. We also welcome your feedback in our discussion group.
.