cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: documenting unit tests for functions

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 12 May 2011 08:09:30 -0700

On Thu, May 12, 2011 at 10:11:09AM +0300, Amr Shahin wrote:
> i think it's better to document that the function is unit-tested in place,
> since this will tell whoever is gonna modify it that there is a test available
> for this function that will allow her to make sure she didn't cause any
> regressions :)

Ah, I see now. I thought you were talking about documenting the unit
test case source, not the libcurl source. That does make more sense.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-12