curl-library
Re: curl unit testing
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
- TEXT/x-diff attachment: 0001-unittest-framework-for-unit-testing.patch