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
GNU General Public License version 2.0 (GPLv2), Other LicenseFollow CuTest: C Unit Testing Framework
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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.