cURL / Mailing Lists / curl-library / Single Mail

curl-library

documenting unit tests for functions

From: Amr Shahin <amrnablus_at_gmail.com>
Date: Wed, 11 May 2011 17:02:55 +0300

Hello friends, it's been a long time.

I'm back to adding unit tests for curl, and i think there should be an easy
way for contributors to know whether a test is implemented for a certain
function, what i have in mind is to add a comment looking pretty much like
this:

/* unit-tested

 * @file unit1300.c

 * @line 147

 * */

I was wondering if it's best to add this to the .h file or the .c file

*Amr*

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