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
Full-stack observability with actually useful AI | Grafana Cloud
Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
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.