cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: contributing to curl

From: Amr Shahin <amrnablus_at_gmail.com>
Date: Mon, 22 Nov 2010 12:12:03 +0200

Hello,
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, while for unit testing one might want to check internal state of a
class/struct ( for example how the list nodes will look like after adding a
certain element ). my personal recommendation is to go with a c unit testing
framework.

if that's ok i would use check (http://check.sourceforge.net/).

*Amr*

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