Re: [dev] Suckless unit testing in C?

From: <k0ga_AT_shike2.com>
Date: Wed, 25 Feb 2015 08:16:52 +0100

>
> What if you're trying to test a program that requires network connectivity?
> It'd be good to be able to mock the networking stuff.

Write your program to deal with sdtdin and stdout, and comunicate
to the network using nc or inetd.

Regards,
Received on Wed Feb 25 2015 - 08:16:52 CET

This archive was generated by hypermail 2.3.0 : Wed Feb 25 2015 - 08:24:12 CET