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
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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.