News for hackers. Stuff that matters.
Re:Greatest: C unit testing library in one file by habitue on Tuesday January 07, 2014 @08:51PM (#7021204)
I used to use FCTX for unit testing, which was just a header file. I don't know if it used nonstandard compiler features under the hood. Unfortunately, while it's mirrored, it doesn't look like the main development website is around any more.

Github mirror: https://github.com/imb/fctx

Re:Greatest: C unit testing library in one file by RhysU on Wednesday January 08, 2014 @09:41AM (#7023691)
+1 on FCTX, even in its dormant state. A sample: http://agentzlerich.blogspot.com/2011/01/c-header-only-unit-...