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.
Follow CuTest: C Unit Testing Framework
- Easy to Use and Fully Customizable to Your Business
- Relational Customer Database and Best in Class SLAs
Rate This ProjectLogin To Rate This Project
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.