curl-library
Re: Unit test architecture now added
Date: Wed, 19 Jan 2011 16:56:07 -0800
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
Received on 2011-01-20