| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
Re: curl unit testing
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 2 Jan 2011 10:07:56 +0100 (CET)
On Sat, 1 Jan 2011, Vincent Torri wrote:
> 500 Kb: you mean the tarball ? Because if you look at the source code
Sure, for those systems that have package managers for which Checks is
> What's the problem with using an external tool for unit testing ? If you use
Why I want the test tools "bundled":
A - We avoid the risk of version skew and that some Check versions have bugs
B - We support lots of platforms and targets that don't easily install Check
Why I think our own code is a good idea instead of using Check:
1 - I don't know what Check aims for in terms of portability, but I'm afraid
And yes this matters. I want everyone to be able to not only use (lib)curl
Portability is one of the corner-stones curl stands on. I work hard on
I also have no desire to have to work on yet another supporting library or
2 - There is not a lot of code for the actual unit testing. Most of what Check
3 - We have an established architecture for tests. We would have to adapt
I think I am one of the most frequent users of these features and I would
(As a somewhat telling sign of how useful this is: my rewrite of the
4 - We do not sacrifize anything in terms of how hard it is or not to write
Calling this "rewriting stuff that others have already written" shows a huge
> Btw, as we are speaking of unit testing, what we are doing with our unit
That'd be great! But of course it could just as well be done for all testing
I would like to get a code coverage for a test "round" on a regular basis so
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-01-02 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info