Software Development with Linux

C unit testing

MON, 01 MAR 2010

I'm currently working on a software project in C.  In this project, there is a lot of legacy code, inherited from the previous projects.  Unfortunately, there are not unit test for it.  So when you change something, it's quite easy to break something else.  At least, there's a big list of manual tests.  While those will always be necessary, they take lots of time to execute.

If we could get some unit tests were in place, our lives would be a lot easier.  We could even have automated regression tests, which would be really great.

So, I've done a search for an open source unit testing framework for the C language.  To my surprise, there are many solution available!  While I've not yet tried them, here are the most promising solutions :

What are YOU using?