Hi,
In attachment, you'll find a small prototype of a unittest suite for
c-ares. I didn't integrate it with the autotools stuff, since I don't
know it (we use cmake). For the moment, it is only testing the
ares_parse_txt_reply function.
I've used the simplest C testing framework I've found (CuTest) and I've
fixed it a bit to remove a few memory leaks that were detected by valgrind.
What do you all think? Is the direction I'm taking OK with you?
Thanks and CU