Unit testing C
Name:
Anonymous
2005-09-07 17:19
Do you guys know any good, lightweight unit testing frameworks for plain vanilla C?
Name:
Anonymous
2005-09-07 21:13
While you're at it, could you ask for world peace too? I'd be much obliged, thanks.
Name:
Anonymous
2005-09-08 1:57
unit testing is for gimps
Name:
Anonymous
2005-09-08 14:46
I test my unit every night.
Name:
Anonymous
2005-09-10 9:34
Bugs? In MY unit?
Name:
Anonymous
2005-09-10 11:06
This thread delivers.
Name:
TokenMacGuy
2005-09-15 20:23
(sage)
#ifdef DEBUG
# define ASSERT(_r,_m) { if ((_r) == 0) { perror((_m));exit 1;}}
#endif
Name:
Anonymous
2005-09-16 19:22
Check is pretty good. It's at
http://check.sourceforge.net . Integration with GNU autotools is a snap.
Been using it for a few years now, have yet to want anything else.
For the rest: you don't get unit testing. TokenMacGuy the least.
Name:
Anonymous
2008-12-25 21:53
test
Name:
test
!IpRt6cake.
2009-04-12 14:41
test
Name:
Anonymous
2009-11-02 1:55
>>10
Looks like it works
!
Name:
Anonymous
2009-11-02 3:12
I use Visual Studio!
Name:
Anonymous
2009-11-02 3:37
I have not tested this code, I have only proved it to be correct.
Name:
Anonymous
2009-11-02 12:40
>>7
I think you mena exit(1)
Name:
Anonymous
2011-02-03 5:09
Name:
Anonymous
2013-07-30 18:07
Lain
Name:
Anonymous
2013-07-30 18:09
Lain