Re: Proposal for unittests

2013-04-26 Thread Steinar H. Gunderson
2013/4/26 Patrick Valsecchi : > 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. We have some unit tests int

Re: Proposal for unittests

2013-04-26 Thread Jakub Hrozek
On Fri, Apr 26, 2013 at 09:47:02AM +0200, Patrick Valsecchi wrote: > 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_tx

Proposal for unittests

2013-04-26 Thread Patrick Valsecchi
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 (