CuTest lets you write unit tests for your C code. You should use it because: (1) It has the cutest name, (2) It looks and feels like JUnit, (3) It is cross-platform, (4) It ships in a single .c and .h file for ease of deployment.
License
Other License, GNU General Public License version 2.0 (GPLv2)Follow CuTest: C Unit Testing Framework
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
-
Easy for use.
-
What is the difference between CuTest and CUnit? Does an eclipse plugin exists for CuTest? Thanks
-
Good ideas here, but looking through CuTest.c, I find no references to free(), yet several to Malloc when using CuStrings. While small test suites will not likely run out of memory, situations can arise where your code completely fails. I suggest you have somewhere that frees the memory. Also you need to check your return codes. Fix these and I would say it is solid simple testing framework.