cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: contributing to curl

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Mon, 22 Nov 2010 11:29:06 +0100

On Monday 22 November 2010 11:12:03 Amr Shahin wrote:
> So i've taken a good look at the way the current test, i think it's pretty
> interesting and neat but i doubt it will be suitable for
> *unit-testing*libcurl. The reason why i think so is that the current
> testing framework is based on feeding some input to curl and comparing real
> output with the expected output

That's one class of the tests we have. Then there is also a bunch of tests
focused on the library or its parts. Please have a look at the following
directory for inspiration:

https://github.com/bagder/curl/tree/master/tests/libtest/

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-22