Seeking recommendations on automated test framework for C

Posted by Hissohathair on Stack Overflow See other posts from Stack Overflow or by Hissohathair
Published on 2010-06-02T07:31:03Z Indexed on 2010/06/02 13:23 UTC
Read the original article Hit count: 218

Filed under:
|
|

I'm writing some code (some of which uses W3C's libwww) in C. It's been a while since I've touched ANSI C. Back in the day we rolled our own test framework. Does anybody here have any test frameworks that they recommend for C programming?

Googling around I was inclined to go with Check. It has a page on other unit testing frameworks in C, a few of which I've taken a quick look at. GNU AutoUnit seemed like it might be a good choice since I'm using the GNU build tools (autoconf, automake) but it doesn't look that alive...

Another option would be to use a C++ framework and just write my tests in C++

Anyway, any experienced opinions would be appreciated. Thanks.

© Stack Overflow or respective owner

Related posts about c

    Related posts about unit-testing