Re: [dev] Suckless unit testing in C?

2015-02-24 Thread Eduardo A . Bustamante López
I've played a bit with caddeus (https://github.com/alvarezp/caddeus), the thing I like about it is that it fits in a single GNU make makefile.

Re: [dev] Suckless unit testing in C?

2015-02-24 Thread Eduardo A . Bustamante López
On Wed, Feb 25, 2015 at 07:45:58AM +0100, Anselm R Garbe wrote: [...] > If you apply the Unix principle correctly, main() is your unit test. > > All you need is creating test input, save the test output and whenever > you call main() with the same test input, you just check for > regressions in th

Re: [dev] Suckless unit testing in C?

2015-02-25 Thread Eduardo A . Bustamante López
On Wed, Feb 25, 2015 at 08:16:52AM +0100, k...@shike2.com wrote: > Write your program to deal with sdtdin and stdout, and comunicate > to the network using nc or inetd. This is very simplistic. I'll give you some examples: - ii: I don't see it using netcat. - quark: Doesn't use inetd - surf: depe

Re: [dev] Suckless unit testing in C?

2015-02-26 Thread Eduardo A . Bustamante López
Hey Roberto, I'm going to stop due to FRIGNs request. I do find your feedback interesting, and most of your points valid. Thank you very much.