cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl unit testing

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 1 Jan 2011 17:37:28 +0100 (CET)

On Sat, 1 Jan 2011, Daniel Stenberg wrote:

> Using my approach, the same llist unittest series could be written like the
> attached file - consider it an example, we can of course tweak the details
> as we think and move ahead. Isn't that good enough? It then also works with
> our current infrastructure perfectly, with things such as valgrind, gdb and
> our own memory leak tool and more.

To put the code where my mouth is, the attached patch is a working version of
the same llist set of tests adjusted to my way of thinking.

Isn't this "good enough" as a first shot and then we can polish this from
here?

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2011-01-01