Search code examples
cunit-testingcross-platform

cross platform unit testing in C


I'm starting a new project and decided that I should give this unit testing thing that everybody keeps talking about a try.

The project is a set of C libraries (so no UI or user interaction testing is necessary) and aimed at being cross platform, with Linux, FreeBSD and Windows being my first priority and OS X planned once the first release is out the door (assuming I can get a hold of a machine running OS X to test on).

Does anybody have any experience or recommendations for a good C unit testing framework that easily works across multiple platforms?


Solution

  • I used to use CUnit which I liked. Also google have open sourced their C++ unit testing framework.