Subject: Re: Proposal for unittests

Re: Proposal for unittests

From: Steinar H. Gunderson <sesse_at_google.com>
Date: Fri, 26 Apr 2013 10:39:26 +0200

2013/4/26 Patrick Valsecchi <pvalsecc_at_cisco.com>:
> 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 internally; nothing complete, but maybe
useful. They're written using Google Test (no surprise there :-) ) and
not CuTest, though, so it means C++.

If people are interested, I could probably go through the process for
open-sourcing them.

/* Steinar */

-- 
Software Engineer, Google Switzerland
Received on 2013-04-26