curl-library
Re: curl unit testing
Date: Sat, 1 Jan 2011 20:15:26 +0100
On Sat, Jan 1, 2011 at 5:37 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> 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?
>
if you prefer rewriting stuff that others have already written, then fine.
Vincent Torri
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-01