Boost logo

Boost :

Subject: Re: [boost] Boost.Container and tests: why is Boost.Test bypassed
From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2015-06-08 10:49:15


On 02-06-2015 18:56, Ion Gaztañaga wrote:
> El 01/06/2015 a las 20:48, Thorsten Ottosen escribió:
>> Hi Ion,
>>
>> I have a GSOC student writing some containers that fit naturally into
>> Boost.Container. So he tries to do things the way that you have done,
>> which is fine.
>>
>> I do wonder why the tests are written with assertions and not using
>> Boost.Test? Is it a dependency problem or?
>
> Those test were inherited from Boost.Interprocess and when trying
> Boost.Test back in 2005 I found it too heavyweight for the kind of tests
> I needed, specially when using the debugger. It could an old problem
> with my IDE installation but I never looked back.
>
> After some years I've slowly started porting some tests from my
> libraries (maybe not Container, I can't remember) to Core's
> lightweight_test which I is dependecy-free, fast and enough for most needs:

Thanks for explaining.

I think then I will recommend my student that normal Boost.Test testing
is done. I haven't found any problems with using the debugger (on
windows) with Boost.Test.

cheers

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk