Boost logo

Boost :

Subject: Re: [boost] Boost.Container and tests: why is Boost.Test bypassed
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2015-06-02 12:56:02


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:

http://www.boost.org/boost/core/lightweight_test.hpp

Is lightweight test acceptable for GSOC?

Best,

Ion


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