cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Unit test architecture now added

From: Amr Shahin <amrnablus_at_gmail.com>
Date: Thu, 3 Feb 2011 15:43:01 +0200

On Thu, Jan 20, 2011 at 2:56 AM, Dan Fandrich <dan_at_coneharvesters.com>wrote:

> On Thu, Jan 20, 2011 at 01:47:57AM +0200, Amr Shahin wrote:
> > so after using the framework, i think it would be cool to add a couple of
> > stuff, mostly related to organizing/aggregating the tests,
> >
> > * maybe we should add the ability to run the unit tests without running
> the
> > whole bunch of tests, something like make unit_test or so.
>
> This is already possible using key words. For example:
>
> make test TEST_Q='-a -p unittest'
>
> will run only the unit tests.
>
> > * another level of the tests is to create test suits, if i'm changing
> > curl_list for example, i would only need to run unit tests that are
> related
> > to that struct/function, would be a nice addition.
>
> That's also possible, again using key words.
>
> make test TEST_Q='-a -p llist'
>
> will run all the llist tests.
>
> >>> Dan
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

Folks, do you have any particular priority for portions that need unit tests
?

*Amr*

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