Re:Greatest: C unit testing library in one file
by justinmk on Tuesday January 07, 2014 @11:46PM
(#7021745)
Did you try cmocka? http://cmocka.org/
It was the most featureful that I found when I was looking last year.
Re:Greatest: C unit testing library in one file
by silentbicycle on Wednesday January 08, 2014 @12:20AM
(#7021853)
I have not, but I'll check it out, thanks.
I've tended to use CMock (https://github.com/ThrowTheSwitch/CMock) for mocking, though it depends on some Ruby-based tooling. The last time I looked into replacing CMock I wound up hip-deep in the binutils. (It was fun when I stopped getting google results from StackOverflow and started getting them from Phrack, though. ;) )